cvs: php-src /main php_variables.c

From: Date: Mon, 13 Feb 2006 12:18:31 +0000
Subject: cvs: php-src /main php_variables.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-36863@lists.php.net to get a copy of this message
dmitry Mon Feb 13 12:18:31 2006 UTC Modified files: /php-src/main php_variables.c Log: Fixed bug #36205 (Memory leaks on duplicate cookies) http://cvs.php.net/viewcvs.cgi/php-src/main/php_variables.c?r1=1.112&r2=1.113&diff_format=u Index: php-src/main/php_variables.c diff -u php-src/main/php_variables.c:1.112 php-src/main/php_variables.c:1.113 --- php-src/main/php_variables.c:1.112 Mon Feb 13 10:23:58 2006 +++ php-src/main/php_variables.c Mon Feb 13 12:18:31 2006 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_variables.c,v 1.112 2006/02/13 10:23:58 dmitry Exp $ */ +/* $Id: php_variables.c,v 1.113 2006/02/13 12:18:31 dmitry Exp $ */ #include <stdio.h> #include "php.h" @@ -226,6 +226,7 @@ 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);

« previous php.cvs (#36863) next »