mirror of
https://github.com/php/php-src.git
synced 2024-09-28 13:26:11 +00:00
NULL the value after free
This commit is contained in:
parent
9efc8616d1
commit
73adf7a25a
@ -118,6 +118,7 @@ static void _free_ldap_result_entry(zend_rsrc_list_entry *rsrc TSRMLS_DC) /* {{{
|
||||
|
||||
if (entry->ber != NULL) {
|
||||
ber_free(entry->ber, 0);
|
||||
entry->ber = NULL;
|
||||
}
|
||||
zend_list_delete(entry->id);
|
||||
efree(entry);
|
||||
|
Loading…
Reference in New Issue
Block a user