From: Wez Furlong Date: Sun, 9 May 2004 14:28:19 +0000 (+0000) Subject: Urgh! X-Git-Tag: RELEASE_0_1~254 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6f8233897eee10da21f7eb6122fed06a425a55bd;p=php Urgh! Use the correct function to free messages from php_win_err(), otherwise we say hello to Mr. S. Fault. --- diff --git a/ext/com_dotnet/com_misc.c b/ext/com_dotnet/com_misc.c index f46c606713..f262a3751a 100644 --- a/ext/com_dotnet/com_misc.c +++ b/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); } }