]> granicus.if.org Git - php/commitdiff
revert bogus memleak fix causing Valgrind to scream
authorAntony Dovgal <tony2001@php.net>
Mon, 3 Aug 2009 08:45:28 +0000 (08:45 +0000)
committerAntony Dovgal <tony2001@php.net>
Mon, 3 Aug 2009 08:45:28 +0000 (08:45 +0000)
NEWS
ext/standard/streamsfuncs.c

diff --git a/NEWS b/NEWS
index 6fd92f5fdd4897c2b15d7a0f07b333be20d95f68..9aaa0c411b85ef3f5b529adf9cdd65cbb1f2a091 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -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)
index 0d2a82f505eb7ebc401569ae5e65aa9c051f5040..43182c80304bb24bf9d74db9205cafb61e923916 100644 (file)
@@ -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) {