Browse Source

Fixed bug #30050 (Possible crash inside php_shutdown_config()).

# Patch suggestion by nw at softwarekombinat dot de
PHP-5.1
Ilia Alshanetsky 22 years ago
parent
commit
2a2d49b947
  1. 2
      main/php_ini.c

2
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;
}

Loading…
Cancel
Save