mirror of
https://github.com/php/php-src.git
synced 2026-04-03 06:02:23 +02:00
MF4: fix crash if shutdown uses file stats
This commit is contained in:
@@ -107,9 +107,11 @@ PHP_RSHUTDOWN_FUNCTION(filestat)
|
||||
{
|
||||
if (BG(CurrentStatFile)) {
|
||||
efree (BG(CurrentStatFile));
|
||||
BG(CurrentStatFile) = NULL;
|
||||
}
|
||||
if (BG(CurrentLStatFile)) {
|
||||
efree (BG(CurrentLStatFile));
|
||||
BG(CurrentLStatFile) = NULL;
|
||||
}
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user