mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fixed bug #30050 (Possible crash inside php_shutdown_config()).
# Patch suggestion by nw at softwarekombinat dot de
This commit is contained in:
parent
1775e980ea
commit
2a2d49b947
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue