mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Remove redundant operations from zend_llist_clean() (#19143)
This function calls zend_llist_destroy() which already sets the head and
tail pointers since c732ab40.
This commit is contained in:
@@ -121,7 +121,6 @@ ZEND_API void zend_llist_destroy(zend_llist *l)
|
||||
ZEND_API void zend_llist_clean(zend_llist *l)
|
||||
{
|
||||
zend_llist_destroy(l);
|
||||
l->head = l->tail = NULL;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user