cvs: Zend / zend_globals.h zend_llist.c
| From: | Derick Rethans | Date: | Wed, 05 Jun 2002 09:57:43 +0000 |
| Subject: | cvs: Zend / zend_globals.h zend_llist.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-149@lists.php.net to get a copy of this message | ||
derick Wed Jun 5 05:57:43 2002 EDT
Modified files:
/Zend zend_globals.h zend_llist.c
Log:
- MFZE2 (memleak fix by Stefan Sesser)
Index: Zend/zend_globals.h
diff -u Zend/zend_globals.h:1.84 Zend/zend_globals.h:1.85
--- Zend/zend_globals.h:1.84 Thu May 16 00:28:18 2002
+++ Zend/zend_globals.h Wed Jun 5 05:57:43 2002
@@ -152,7 +152,7 @@
zend_op **opline_ptr;
- zend_execute_data *execute_data_ptr;
+ zend_execute_data *execute_data_ptr;
HashTable *active_symbol_table;
HashTable symbol_table; /* main symbol table */
Index: Zend/zend_llist.c
diff -u Zend/zend_llist.c:1.32 Zend/zend_llist.c:1.33
--- Zend/zend_llist.c:1.32 Sun Jan 6 10:21:09 2002
+++ Zend/zend_llist.c Wed Jun 5 05:57:43 2002
@@ -139,6 +139,9 @@
data = old_tail->data;
l->tail = l->tail->prev;
+ if (l->dtor) {
+ l->dtor(data);
+ }
pefree(old_tail, l->persistent);
--l->count;