From f521b61ce2b2a6323833bea11937c126aedb3615 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Fri, 17 Sep 2004 02:48:47 +0000 Subject: [PATCH] MFH: Fixed bug #30050 (Possible crash inside php_shutdown_config()). --- main/php_ini.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main/php_ini.c b/main/php_ini.c index 5fb95c71d8..ec2cdd16d4 100644 --- a/main/php_ini.c +++ b/main/php_ini.c @@ -534,9 +534,11 @@ int php_shutdown_config(void) zend_hash_destroy(&configuration_hash); if (php_ini_opened_path) { free(php_ini_opened_path); + php_ini_opened_path = NULL; } if (php_ini_scanned_files) { free(php_ini_scanned_files); + php_ini_scanned_files = NULL; } return SUCCESS; } -- 2.50.1