From: Stanislav Malyshev Date: Thu, 2 Sep 2004 09:44:59 +0000 (+0000) Subject: MFH: filestat fix X-Git-Tag: php-5.0.2RC1~47 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65052194b4dd4e5905538124772fbca8ad280f64;p=php MFH: filestat fix --- diff --git a/ext/standard/filestat.c b/ext/standard/filestat.c index 2aa7051a2c..d6463909d3 100644 --- a/ext/standard/filestat.c +++ b/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; }