From 484d4351c220eb213689464a21bcb716096d6430 Mon Sep 17 00:00:00 2001 From: Niels Dossche <7771979+nielsdos@users.noreply.github.com> Date: Wed, 16 Jul 2025 09:08:30 +0200 Subject: [PATCH] Remove redundant operations from zend_llist_clean() (#19143) This function calls zend_llist_destroy() which already sets the head and tail pointers since c732ab40. --- Zend/zend_llist.c | 1 - 1 file changed, 1 deletion(-) diff --git a/Zend/zend_llist.c b/Zend/zend_llist.c index 8c42b2494ea..28a275e6fce 100644 --- a/Zend/zend_llist.c +++ b/Zend/zend_llist.c @@ -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; }