summaryrefslogtreecommitdiff
path: root/main/memory_streams.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2002-03-21 12:45:32 +0000
committerMarcus Boerger <helly@php.net>2002-03-21 12:45:32 +0000
commita598e0b73f5d360128e389a23d0e10ec85d6845d (patch)
tree8816b8a1d41937b924f76f1f6e7f8f8e8922142d /main/memory_streams.c
parent9bee3510eaf3d8bfc198ff1bcb22cdacf6f41690 (diff)
downloadphp-git-a598e0b73f5d360128e389a23d0e10ec85d6845d.tar.gz
-fix missing efree
Diffstat (limited to 'main/memory_streams.c')
-rw-r--r--main/memory_streams.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/memory_streams.c b/main/memory_streams.c
index 92540a29df..a9ea5193be 100644
--- a/main/memory_streams.c
+++ b/main/memory_streams.c
@@ -318,7 +318,7 @@ static size_t php_stream_temp_write(php_stream *stream, const char *buf, size_t
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;
}
}