Use the correct function to free messages from php_win_err(), otherwise
we say hello to Mr. S. Fault.
This commit is contained in:
Wez Furlong 2004-05-09 14:28:19 +00:00
parent ca47676650
commit 6f8233897e

View File

@ -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);
}
}