diff options
| author | Wez Furlong <wez@php.net> | 2004-05-09 14:28:19 +0000 |
|---|---|---|
| committer | Wez Furlong <wez@php.net> | 2004-05-09 14:28:19 +0000 |
| commit | 6f8233897eee10da21f7eb6122fed06a425a55bd (patch) | |
| tree | be96ab8d38ba7da08818d4716bef43ff81206c9a /ext/com_dotnet/com_misc.c | |
| parent | ca47676650c511f3e05eb1326c9cefa3e35ad404 (diff) | |
| download | php-git-6f8233897eee10da21f7eb6122fed06a425a55bd.tar.gz | |
Urgh!
Use the correct function to free messages from php_win_err(), otherwise
we say hello to Mr. S. Fault.
Diffstat (limited to 'ext/com_dotnet/com_misc.c')
| -rw-r--r-- | ext/com_dotnet/com_misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |
