diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2004-09-17 02:48:47 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2004-09-17 02:48:47 +0000 |
commit | f521b61ce2b2a6323833bea11937c126aedb3615 (patch) | |
tree | 867ec3be75608fb2006f35bce2ec6ef4ca7c535a /main/php_ini.c | |
parent | 16bc64121fbfd901608b785e16593e142c51faaf (diff) | |
download | php-git-f521b61ce2b2a6323833bea11937c126aedb3615.tar.gz |
MFH: Fixed bug #30050 (Possible crash inside php_shutdown_config()).
Diffstat (limited to 'main/php_ini.c')
-rw-r--r-- | main/php_ini.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |