cvs: ZendEngine2 / zend_execute_API.c
| From: | Stanislav Malyshev | Date: | Tue, 14 Oct 2003 14:36:23 +0000 |
| Subject: | cvs: ZendEngine2 / zend_execute_API.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-1901@lists.php.net to get a copy of this message | ||
stas Tue Oct 14 10:36:23 2003 EDT
Modified files:
/ZendEngine2 zend_execute_API.c
Log:
The freed one is a hashtable - may matter if Hashtables are allocated
differently
Index: ZendEngine2/zend_execute_API.c
diff -u ZendEngine2/zend_execute_API.c:1.236 ZendEngine2/zend_execute_API.c:1.237
--- ZendEngine2/zend_execute_API.c:1.236 Thu Sep 11 13:06:53 2003
+++ ZendEngine2/zend_execute_API.c Tue Oct 14 10:36:23 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_execute_API.c,v 1.236 2003/09/11 17:06:53 stas Exp $ */
+/* $Id: zend_execute_API.c,v 1.237 2003/10/14 14:36:23 stas Exp $ */
#include <stdio.h>
#include <signal.h>
@@ -264,7 +264,7 @@
while (EG(symtable_cache_ptr)>=EG(symtable_cache)) {
zend_hash_destroy(*EG(symtable_cache_ptr));
- efree(*EG(symtable_cache_ptr));
+ FREE_HASHTABLE(*EG(symtable_cache_ptr));
EG(symtable_cache_ptr)--;
}
} zend_end_try();