summaryrefslogtreecommitdiff
path: root/Zend/zend_llist.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2002-09-01 19:19:50 +0000
committerAndi Gutmans <andi@php.net>2002-09-01 19:19:50 +0000
commitf4e8b2c4e95c45e1e957ebf0b62c248cdbcfc22c (patch)
treebe1aaa9f6cd987b7068711d33fd95f41915e29ef /Zend/zend_llist.c
parente32f35eb4ef3909c8a8135ab7ed2ea0e92343b68 (diff)
downloadphp-git-f4e8b2c4e95c45e1e957ebf0b62c248cdbcfc22c.tar.gz
- Fix leak reported by "l0t3k" <cshmoove@hotmail.com>
Diffstat (limited to 'Zend/zend_llist.c')
-rw-r--r--Zend/zend_llist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_llist.c b/Zend/zend_llist.c
index b9f8eb2b10..bb47f9b459 100644
--- a/Zend/zend_llist.c
+++ b/Zend/zend_llist.c
@@ -82,8 +82,8 @@ ZEND_API void zend_llist_prepend_element(zend_llist *l, void *element)
}\
if ((l)->dtor) {\
(l)->dtor((current)->data);\
- pefree((current), (l)->persistent);\
}\
+ pefree((current), (l)->persistent);\
--l->count;