Skip to content

Commit 484d435

Browse files
authored
Remove redundant operations from zend_llist_clean() (#19143)
This function calls zend_llist_destroy() which already sets the head and tail pointers since c732ab4.
1 parent 02b9455 commit 484d435

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Zend/zend_llist.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ ZEND_API void zend_llist_destroy(zend_llist *l)
121121
ZEND_API void zend_llist_clean(zend_llist *l)
122122
{
123123
zend_llist_destroy(l);
124-
l->head = l->tail = NULL;
125124
}
126125

127126

0 commit comments

Comments
 (0)