cvs: php4 /ext/standard file.c
| From: | Thies C. Arntzen | Date: | Tue, 27 Jun 2000 09:55:52 +0000 |
| Subject: | cvs: php4 /ext/standard file.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-503@lists.php.net to get a copy of this message | ||
thies Tue Jun 27 02:55:52 2000 EDT
Modified files:
/php4/ext/standard file.c
Log:
(fgetcsv) fixed leak
Index: php4/ext/standard/file.c
diff -u php4/ext/standard/file.c:1.95 php4/ext/standard/file.c:1.96
--- php4/ext/standard/file.c:1.95 Mon Jun 26 13:52:04 2000
+++ php4/ext/standard/file.c Tue Jun 27 02:55:52 2000
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: file.c,v 1.95 2000/06/26 20:52:04 zeev Exp $ */
+/* $Id: file.c,v 1.96 2000/06/27 09:55:52 thies Exp $ */
/* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */
@@ -1904,6 +1904,7 @@
memset(buf,0,len+1);
if (FP_FGETS(buf, len, socketd, (FILE*)what, issock) == NULL) {
efree(lineEnd); efree(temp); efree(buf);
+ zval_dtor(return_value);
RETURN_FALSE;
}
bptr = buf;