]> granicus.if.org Git - php/commitdiff
Fixed bug #76520
authorNikita Popov <nikita.ppv@gmail.com>
Fri, 22 Jun 2018 14:22:04 +0000 (16:22 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Fri, 22 Jun 2018 14:22:04 +0000 (16:22 +0200)
NEWS
Zend/zend_execute_API.c

diff --git a/NEWS b/NEWS
index 31589b6f11e9d5ecd173e9df3904dc4c76faef4b..c6abc9718e048f8e52f97ec8d070b31aab5d82b1 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,10 @@ PHP                                                                        NEWS
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 ?? ??? ????, PHP 7.2.8
 
+- Core:
+  . Fixed bug #76520 (Object creation leaks memory when executed over HTTP).
+    (Nikita)
+
 - Date:
   . Fixed bug #76462 (Undefined property: DateInterval::$f). (Anatol)
 
index e46d0d84eeba50b1f53efe5f78d25757641096c7..4ce3a574584848edf6cb27e25b736e3c9224e255 100644 (file)
@@ -142,6 +142,7 @@ void init_executor(void) /* {{{ */
        EG(in_autoload) = NULL;
        EG(autoload_func) = NULL;
        EG(error_handling) = EH_NORMAL;
+       EG(flags) = EG_FLAGS_INITIAL;
 
        zend_vm_stack_init();