cvs: php4(PHP_4_3) /ext/standard file.c
| From: | Derick Rethans | Date: | Fri, 24 Jan 2003 08:51:00 +0000 |
| Subject: | cvs: php4(PHP_4_3) /ext/standard file.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-18125@lists.php.net to get a copy of this message | ||
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;
}