From: Dmitry Stogov Date: Tue, 18 Mar 2014 07:50:22 +0000 (+0400) Subject: Fixed stream_filter_remove() X-Git-Tag: POST_PHPNG_MERGE~412^2~279 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e47c080ce8c2f32bc6ea61e0196a6ac48435f2dc;p=php Fixed stream_filter_remove() --- diff --git a/ext/standard/streamsfuncs.c b/ext/standard/streamsfuncs.c index c80aa6e3a4..a11dd172a5 100644 --- a/ext/standard/streamsfuncs.c +++ b/ext/standard/streamsfuncs.c @@ -1284,7 +1284,7 @@ PHP_FUNCTION(stream_filter_remove) RETURN_FALSE; } - if (zend_list_delete(Z_RES_P(zfilter)) == FAILURE) { + if (zend_list_close(Z_RES_P(zfilter)) == FAILURE) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not invalidate filter, not removing"); RETURN_FALSE; } else {