Skip to content

Commit f4e8b2c

Browse files
author
Andi Gutmans
committed
- Fix leak reported by "l0t3k" <cshmoove@hotmail.com>
1 parent e32f35e commit f4e8b2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_llist.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ ZEND_API void zend_llist_prepend_element(zend_llist *l, void *element)
8282
}\
8383
if ((l)->dtor) {\
8484
(l)->dtor((current)->data);\
85-
pefree((current), (l)->persistent);\
8685
}\
86+
pefree((current), (l)->persistent);\
8787
--l->count;
8888

8989

0 commit comments

Comments
 (0)