Browse Source

Urgh!

Use the correct function to free messages from php_win_err(), otherwise
we say hello to Mr. S. Fault.
PHP-5.0
Wez Furlong 22 years ago
parent
commit
6f8233897e
  1. 2
      ext/com_dotnet/com_misc.c

2
ext/com_dotnet/com_misc.c

@ -38,7 +38,7 @@ void php_com_throw_exception(HRESULT code, char *message TSRMLS_DC)
}
zend_throw_exception(php_com_exception_class_entry, message, (long)code TSRMLS_CC);
if (free_msg) {
efree(message);
LocalFree(message);
}
}

Loading…
Cancel
Save