From: Derick Rethans Date: Fri, 24 Jan 2003 08:50:59 +0000 (+0000) Subject: - MFH: memleak X-Git-Tag: PHP_4_3_before_13561_fix~34 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8e5d7f67efa2d8a801e7ee7f0e25f765b79edee6;p=php - MFH: memleak --- diff --git a/ext/standard/file.c b/ext/standard/file.c index a2ab1be472..fd9690043c 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -1482,6 +1482,7 @@ PHP_FUNCTION(fscanf) buf = php_stream_get_line((php_stream *) what, NULL, 0, &len); if (buf == NULL) { + efree(args); RETURN_FALSE; }