Fix the pointer address passed to the comparator and call
zend_list_delete instead of zend_list_close to avoid closing
the resource if still used.
- IMAP:
. Fixed bug #70158 (Building with static imap fails). (cmb)
+ . Fixed bug #69998 (curl multi leaking memory). (Pierrick)
- Opcache:
. Fixed bug #70111 (Segfault when a function uses both an explicit return
return;
}
- zend_list_close(Z_RES_P(z_ch));
+ zend_list_delete(Z_RES_P(z_ch));
}
/* }}} */
}
RETVAL_LONG((zend_long)curl_multi_remove_handle(mh->multi, ch->cp));
- zend_llist_del_element(&mh->easyh, &z_ch, (int (*)(void *, void *))curl_compare_resources);
+ zend_llist_del_element(&mh->easyh, z_ch, (int (*)(void *, void *))curl_compare_resources);
}
/* }}} */