1
0
mirror of https://github.com/php/php-src.git synced 2026-04-09 09:03:04 +02:00

- Fix persistence of llist

This commit is contained in:
Andi Gutmans
2000-04-25 09:45:58 +00:00
parent bc220aa000
commit 382653aebc

View File

@@ -81,7 +81,7 @@ ZEND_API void zend_llist_del_element(zend_llist *l, void *element, int (*compare
}
if (l->dtor) {
l->dtor(current->data);
efree(current);
pefree(current, l->persistent);
}
break;
}
@@ -121,7 +121,7 @@ ZEND_API void zend_llist_remove_tail(zend_llist *l)
l->tail->prev->next = NULL;
}
l->tail = l->tail->prev;
efree(old_tail);
pefree(old_tail, l->persistent);
}
}