From 11187a40e089cbb9f50fe93531db3d1853835c49 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Mon, 13 Feb 2006 12:18:16 +0000 Subject: Fixed bug #36205 (Memory leaks on duplicate cookies) --- main/php_variables.c | 1 + 1 file changed, 1 insertion(+) (limited to 'main/php_variables.c') diff --git a/main/php_variables.c b/main/php_variables.c index 8bfa6ac3ed..da81aa6901 100644 --- a/main/php_variables.c +++ b/main/php_variables.c @@ -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); -- cgit v1.2.1