summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2009-08-03 08:45:28 +0000
committerAntony Dovgal <tony2001@php.net>2009-08-03 08:45:28 +0000
commitb691c3457931bb82c7f433a07f7d7d807289440a (patch)
treebae683dfd190bcd2d98e6ae8180351739976df55
parent7f594baaa3ab3ebfb6f23a473d34a858d68d5bda (diff)
downloadphp-git-b691c3457931bb82c7f433a07f7d7d807289440a.tar.gz
revert bogus memleak fix causing Valgrind to scream
-rw-r--r--NEWS1
-rw-r--r--ext/standard/streamsfuncs.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 6fd92f5fdd..9aaa0c411b 100644
--- 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)
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) {