cvs: ZendEngine2 / zend_API.c
| From: | Dmitry Stogov | Date: | Fri, 04 May 2007 16:51:18 +0000 |
| Subject: | cvs: ZendEngine2 / zend_API.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-5780@lists.php.net to get a copy of this message | ||
dmitry Fri May 4 16:51:18 2007 UTC
Modified files:
/ZendEngine2 zend_API.c
Log:
Fixed wrong deallocation
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_API.c?r1=1.430&r2=1.431&diff_format=u
Index: ZendEngine2/zend_API.c
diff -u ZendEngine2/zend_API.c:1.430 ZendEngine2/zend_API.c:1.431
--- ZendEngine2/zend_API.c:1.430 Fri May 4 12:17:30 2007
+++ ZendEngine2/zend_API.c Fri May 4 16:51:18 2007
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_API.c,v 1.430 2007/05/04 12:17:30 tony2001 Exp $ */
+/* $Id: zend_API.c,v 1.431 2007/05/04 16:51:18 dmitry Exp $ */
#include "zend.h"
#include "zend_execute.h"
@@ -2170,7 +2170,7 @@
}
if (unload) { /* before unloading, display all remaining bad function in the module */
if (scope) {
- free_alloca(lc_class_name.v);
+ efree(lc_class_name.v);
}
while (ptr->fname) {
if (zend_hash_exists(target_function_table, ptr->fname, strlen(ptr->fname)+1)) {