php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | |
Patch php-segv for Reproducible crash Bug #65463Patch version 2013-09-04 18:52 UTC Return to Bug #65463 | Download this patchThis patch renders other patches obsolete Obsolete patches: Patch Revisions:Developer: keyur@php.netAuthor: Keyur Govande <keyur@php.net> Date: Fri Aug 16 23:59:29 2013 +0000 Fix order of destruction diff --git a/Zend/zend.c b/Zend/zend.c index fc443d9..972dff1 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -817,6 +817,11 @@ void zend_shutdown(TSRMLS_D) /* {{{ */ zend_shutdown_timeout_thread(); #endif zend_destroy_rsrc_list(&EG(persistent_list) TSRMLS_CC); + + zend_hash_clean(GLOBAL_FUNCTION_TABLE); + zend_hash_clean(GLOBAL_CLASS_TABLE); + zend_hash_clean(GLOBAL_AUTO_GLOBALS_TABLE); + zend_destroy_modules(); zend_hash_destroy(GLOBAL_FUNCTION_TABLE); |
Copyright © 2001-2025 The PHP Group All rights reserved. |
Last updated: Thu Jan 30 23:01:30 2025 UTC |