]> 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)
ext/standard/streamsfuncs.c

index 76b9800dd8d617c575e983d6962756c01dd0ca92..4f8e561eadea6f45fdf32e397a3a2d1be30e7498 100644 (file)
@@ -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) {