com php-src: Fixed stream_filter_remove(): ext/stan dard/streamsfuncs.c

From: Date: Tue, 18 Mar 2014 07:50:22 +0000
Subject: com php-src: Fixed stream_filter_remove(): ext/stan dard/streamsfuncs.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-77555@lists.php.net to get a copy of this message
Commit: e47c080ce8c2f32bc6ea61e0196a6ac48435f2dc Author: Dmitry Stogov <dmitry@zend.com> Tue, 18 Mar 2014 11:50:22 +0400 Parents: a7b33bb431a76a410c7c46678814f5ef56297186 Branches: phpng Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e47c080ce8c2f32bc6ea61e0196a6ac48435f2dc Log: Fixed stream_filter_remove() Changed paths: M ext/standard/streamsfuncs.c Diff: diff --git a/ext/standard/streamsfuncs.c b/ext/standard/streamsfuncs.c index c80aa6e..a11dd17 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 {

« previous php.cvs (#77555) next »