diff options
Diffstat (limited to 'Zend/zend_llist.c')
-rw-r--r-- | Zend/zend_llist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_llist.c b/Zend/zend_llist.c index 2f5a011d4d..232612be4e 100644 --- a/Zend/zend_llist.c +++ b/Zend/zend_llist.c @@ -64,7 +64,7 @@ ZEND_API void zend_llist_del_element(zend_llist *l, void *element) zend_llist_element *current=l->head; while (current) { - if (current->data == element) { + if (!memcmp(current->data, element, l->size)) { if (current->prev) { current->prev->next = current->next; } else { |