Browse Source

MF4: fix crash if shutdown uses file stats

PHP-5.1
Stanislav Malyshev 22 years ago
parent
commit
dbc1cb5e92
  1. 2
      ext/standard/filestat.c

2
ext/standard/filestat.c

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

Loading…
Cancel
Save