]> granicus.if.org Git - php/commitdiff
- Fix possible crash (PR#26223). Leaks remain.
authorfoobar <sniper@php.net>
Sat, 8 Jan 2005 20:44:23 +0000 (20:44 +0000)
committerfoobar <sniper@php.net>
Sat, 8 Jan 2005 20:44:23 +0000 (20:44 +0000)
ext/standard/basic_functions.c

index 9459f623630a8361d1cd814b8290c752eb0dc059..83512161d54a278c7cf46ab9a2f68656acd8d81f 100644 (file)
@@ -2292,6 +2292,7 @@ void php_call_shutdown_functions(void)
                        memcpy(&EG(bailout), &orig_bailout, sizeof(jmp_buf));
                        zend_hash_destroy(BG(user_shutdown_function_names));
                        FREE_HASHTABLE(BG(user_shutdown_function_names));
+                       BG(user_shutdown_function_names) = NULL;
                }
                zend_end_try();
 }