1
0
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:
Stanislav Malyshev
2004-09-02 09:39:55 +00:00
parent 00b9ace829
commit dbc1cb5e92

View File

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