diff options
| -rw-r--r-- | NEWS | 1 | ||||
| -rw-r--r-- | main/php_variables.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -5,6 +5,7 @@ PHP NEWS array when row number > field_count). (Georg) - Renamed CachingRecursiveIterator to RecursiveCachingIterator. (Marcus) - Fixed bug #36303 (foreach on error_zval produces segfault). (Dmitry) +- Fixed bug #36205 (Memory leaks on duplicate cookies). (Dmitry) - Fixed bug #36071 (Engine Crash related with 'clone'). (Dmitry) - Fixed bug #36006 (Problem with $this in __destruct()). (Dmitry) - Fixed bug #35612 (iis6 Access Violation crash). (Dmitry, alacn.uhahaa) diff --git a/main/php_variables.c b/main/php_variables.c index 2467119357..f978a13594 100644 --- a/main/php_variables.c +++ b/main/php_variables.c @@ -204,6 +204,7 @@ plain_var: if (PG(http_globals)[TRACK_VARS_COOKIE] && symtable1 == Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_COOKIE]) && zend_symtable_find(symtable1, escaped_index, index_len+1, (void **) &tmp) != FAILURE) { 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); |
