From: Antony Dovgal Date: Mon, 3 Aug 2009 08:45:28 +0000 (+0000) Subject: revert bogus memleak fix causing Valgrind to scream X-Git-Tag: php-5.4.0alpha1~191^2~2881 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eb219d11cbc5cc84d613435da0859f5541c683e3;p=php revert bogus memleak fix causing Valgrind to scream --- diff --git a/ext/standard/streamsfuncs.c b/ext/standard/streamsfuncs.c index 76b9800dd8..4f8e561ead 100644 --- a/ext/standard/streamsfuncs.c +++ b/ext/standard/streamsfuncs.c @@ -1752,7 +1752,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) {