cvs: php4 /main memory_streams.c
| From: | Marcus B�rger | Date: | Thu, 21 Mar 2002 12:45:34 +0000 |
| Subject: | cvs: php4 /main memory_streams.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-10517@lists.php.net to get a copy of this message | ||
helly Thu Mar 21 07:45:34 2002 EDT
Modified files:
/php4/main memory_streams.c
Log:
-fix missing efree
Index: php4/main/memory_streams.c
diff -u php4/main/memory_streams.c:1.10 php4/main/memory_streams.c:1.11
--- php4/main/memory_streams.c:1.10 Wed Mar 20 14:13:03 2002
+++ php4/main/memory_streams.c Thu Mar 21 07:45:32 2002
@@ -318,7 +318,7 @@
if (memsize + count >= ts->smax) {
php_stream *file = php_stream_fopen_tmpfile();
php_stream_write(file, membuf, memsize);
- php_stream_close(ts->innerstream);
+ php_stream_memory_close(ts->innerstream);
ts->innerstream = file;
}
}