wez Sun May 9 10:28:19 2004 EDT
Modified files:
/php-src/ext/com_dotnet com_misc.c
Log:
Urgh!
Use the correct function to free messages from php_win_err(), otherwise
we say hello to Mr. S. Fault.
http://cvs.php.net/diff.php/php-src/ext/com_dotnet/com_misc.c?r1=1.6&r2=1.7&ty=u
Index: php-src/ext/com_dotnet/com_misc.c
diff -u php-src/ext/com_dotnet/com_misc.c:1.6 php-src/ext/com_dotnet/com_misc.c:1.7
--- php-src/ext/com_dotnet/com_misc.c:1.6 Mon May 3 16:10:57 2004
+++ php-src/ext/com_dotnet/com_misc.c Sun May 9 10:28:19 2004
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: com_misc.c,v 1.6 2004/05/03 20:10:57 wez Exp $ */
+/* $Id: com_misc.c,v 1.7 2004/05/09 14:28:19 wez Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -38,7 +38,7 @@
}
zend_throw_exception(php_com_exception_class_entry, message, (long)code
TSRMLS_CC);
if (free_msg) {
- efree(message);
+ LocalFree(message);
}
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php