summaryrefslogtreecommitdiff
path: root/ext/com_dotnet/com_misc.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2004-05-09 14:28:19 +0000
committerWez Furlong <wez@php.net>2004-05-09 14:28:19 +0000
commit6f8233897eee10da21f7eb6122fed06a425a55bd (patch)
treebe96ab8d38ba7da08818d4716bef43ff81206c9a /ext/com_dotnet/com_misc.c
parentca47676650c511f3e05eb1326c9cefa3e35ad404 (diff)
downloadphp-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.c2
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);
}
}