mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
Urgh!
Use the correct function to free messages from php_win_err(), otherwise we say hello to Mr. S. Fault.
This commit is contained in:
parent
ca47676650
commit
6f8233897e
@ -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…
Reference in New Issue
Block a user