summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--main/php_variables.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 95d85cca84..e9fa1cb533 100644
--- a/NEWS
+++ b/NEWS
@@ -45,6 +45,7 @@ PHP NEWS
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)
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);