From: Dmitry Stogov Date: Mon, 13 Feb 2006 12:18:31 +0000 (+0000) Subject: Fixed bug #36205 (Memory leaks on duplicate cookies) X-Git-Tag: RELEASE_1_2~210 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b238135d5330d82fc352d1ddb44927f575b22e9d;p=php Fixed bug #36205 (Memory leaks on duplicate cookies) --- diff --git a/main/php_variables.c b/main/php_variables.c index 5d0ffa56d1..5c56aa956a 100644 --- a/main/php_variables.c +++ b/main/php_variables.c @@ -226,6 +226,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);