Fixed bug #36205 (Memory leaks on duplicate cookies)

This commit is contained in:
Dmitry Stogov 2006-02-13 12:18:16 +00:00
parent 9c614f8f8f
commit 11187a40e0
2 changed files with 2 additions and 0 deletions

View file

@ -207,6 +207,7 @@ plain_var:
if (index != escaped_index) {
efree(escaped_index);
}
zval_ptr_dtor(&gpc_element);
break;
}
zend_symtable_update(symtable1, escaped_index, index_len + 1, &gpc_element, sizeof(zval *), (void **) &gpc_element_p);