diff options
author | Dmitry Stogov <dmitry@zend.com> | 2014-03-18 11:50:22 +0400 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2014-03-18 11:50:22 +0400 |
commit | e47c080ce8c2f32bc6ea61e0196a6ac48435f2dc (patch) | |
tree | 4babce0298f96ce437a60cc32a16f9bf16cf7c43 /ext/standard/streamsfuncs.c | |
parent | a7b33bb431a76a410c7c46678814f5ef56297186 (diff) | |
download | php-git-e47c080ce8c2f32bc6ea61e0196a6ac48435f2dc.tar.gz |
Fixed stream_filter_remove()
Diffstat (limited to 'ext/standard/streamsfuncs.c')
-rw-r--r-- | ext/standard/streamsfuncs.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |