diff options
| -rw-r--r-- | Zend/zend_llist.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Zend/zend_llist.c b/Zend/zend_llist.c index d729c89c99..b9f8eb2b10 100644 --- a/Zend/zend_llist.c +++ b/Zend/zend_llist.c @@ -140,6 +140,9 @@ ZEND_API void *zend_llist_remove_tail(zend_llist *l) data = old_tail->data; l->tail = l->tail->prev; + if (l->dtor) { + l->dtor(data); + } pefree(old_tail, l->persistent); --l->count; |
