From: Ilia Alshanetsky Date: Thu, 9 Jan 2003 22:49:18 +0000 (+0000) Subject: Fixed a memory corruption that occurs when an unterminated " is encountered X-Git-Tag: PHP_5_0_dev_before_13561_fix~349 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3e5bbba35155f6ad920c3265285ba66262aab286;p=php Fixed a memory corruption that occurs when an unterminated " is encountered this bug maybe be related to #21556. --- diff --git a/ext/standard/file.c b/ext/standard/file.c index 4a6a02d542..7a65b7fea7 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -2276,7 +2276,7 @@ PHP_FUNCTION(fgetcsv) efree(lineEnd); efree(temp); efree(buf); - zval_ptr_dtor(&return_value); + zval_dtor(return_value); RETURN_FALSE; }