cvs: php-src(PHP_5_1) / NEWS /main php_variables.c
| From: | Dmitry Stogov | Date: | Mon, 13 Feb 2006 12:18:16 +0000 |
| Subject: | cvs: php-src(PHP_5_1) / NEWS /main php_variables.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-36862@lists.php.net to get a copy of this message | ||
dmitry Mon Feb 13 12:18:16 2006 UTC
Modified files: (Branch: PHP_5_1)
/php-src NEWS
/php-src/main php_variables.c
Log:
Fixed bug #36205 (Memory leaks on duplicate cookies)
http://cvs.php.net/viewcvs.cgi/php-src/NEWS?r1=1.2027.2.411&r2=1.2027.2.412&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.411 php-src/NEWS:1.2027.2.412
--- php-src/NEWS:1.2027.2.411 Sun Feb 12 16:39:44 2006
+++ php-src/NEWS Mon Feb 13 12:18:16 2006
@@ -45,6 +45,7 @@
Magnusson)
- Fixed bug #36222 (errorInfo in PDOException is always NULL). (Ilia)
- Fixed bug #36208 (symbol namespace conflicts using bundled gd). (Jakub Moc)
+- Fixed bug #36205 (Memory leaks on duplicate cookies). (Dmitry)
- Fixed bug #36185 (str_rot13() crash on non-string parameter). (Pierre)
- Fixed bug #36176 (PDO_PGSQL - PDO::exec() does not return number of rows
affected by the operation). (Ilia)
http://cvs.php.net/viewcvs.cgi/php-src/main/php_variables.c?r1=1.104.2.4&r2=1.104.2.5&diff_format=u
Index: php-src/main/php_variables.c
diff -u php-src/main/php_variables.c:1.104.2.4 php-src/main/php_variables.c:1.104.2.5
--- php-src/main/php_variables.c:1.104.2.4 Sun Jan 1 12:50:17 2006
+++ php-src/main/php_variables.c Mon Feb 13 12:18:16 2006
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_variables.c,v 1.104.2.4 2006/01/01 12:50:17 sniper Exp $ */
+/* $Id: php_variables.c,v 1.104.2.5 2006/02/13 12:18:16 dmitry Exp $ */
#include <stdio.h>
#include "php.h"
@@ -207,6 +207,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);