derick Fri Jan 24 03:51:00 2003 EDT Modified files: (Branch: PHP_4_3) /php4/ext/standard file.c Log: - MFH: memleak Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.279.2.6 php4/ext/standard/file.c:1.279.2.7 --- php4/ext/standard/file.c:1.279.2.6 Thu Jan 9 18:09:41 2003 +++ php4/ext/standard/file.c Fri Jan 24 03:50:59 2003 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: file.c,v 1.279.2.6 2003/01/09 23:09:41 iliaa Exp $ */ +/* $Id: file.c,v 1.279.2.7 2003/01/24 08:50:59 derick Exp $ */ /* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */ @@ -1482,6 +1482,7 @@ buf = php_stream_get_line((php_stream *) what, NULL, 0, &len); if (buf == NULL) { + efree(args); RETURN_FALSE; }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php