diff options
author | Antony Dovgal <tony2001@php.net> | 2009-08-03 08:45:28 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2009-08-03 08:45:28 +0000 |
commit | b691c3457931bb82c7f433a07f7d7d807289440a (patch) | |
tree | bae683dfd190bcd2d98e6ae8180351739976df55 | |
parent | 7f594baaa3ab3ebfb6f23a473d34a858d68d5bda (diff) | |
download | php-git-b691c3457931bb82c7f433a07f7d7d807289440a.tar.gz |
revert bogus memleak fix causing Valgrind to scream
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | ext/standard/streamsfuncs.c | 1 |
2 files changed, 0 insertions, 2 deletions
@@ -3,7 +3,6 @@ PHP NEWS ?? ??? 2009, PHP 5.2.11 - Fixed regression in cURL extension that prevented flush of data to output defined as a file handle. (Ilia) -- Fixed memory leak in stream_is_local(). (Felipe) - Fixed bug #49132 (posix_times returns false without error). (phpbugs at gunnu dot us) diff --git a/ext/standard/streamsfuncs.c b/ext/standard/streamsfuncs.c index 0d2a82f505..43182c8030 100644 --- a/ext/standard/streamsfuncs.c +++ b/ext/standard/streamsfuncs.c @@ -1399,7 +1399,6 @@ PHP_FUNCTION(stream_is_local) } else { convert_to_string_ex(&zstream); wrapper = php_stream_locate_url_wrapper(Z_STRVAL_P(zstream), NULL, 0 TSRMLS_CC); - zval_ptr_dtor(&zstream); } if(!wrapper) { |