mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix crash
# This is getting worse... Seems that more work is needed
This commit is contained in:
parent
eb32144902
commit
20a6474eae
2 changed files with 1 additions and 2 deletions
|
@ -16,7 +16,6 @@
|
|||
+----------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
|
||||
#include "php.h"
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
|
|
@ -108,7 +108,7 @@ static PHP_INI_MH(OnUpdateStringCopy)
|
|||
|
||||
p = (char **) (base+(size_t) mh_arg1);
|
||||
|
||||
if(*p) {
|
||||
if(*p && stage != PHP_INI_STAGE_STARTUP) {
|
||||
STR_FREE(*p);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue