summaryrefslogtreecommitdiff
path: root/ext/standard/streamsfuncs.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2014-03-18 11:50:22 +0400
committerDmitry Stogov <dmitry@zend.com>2014-03-18 11:50:22 +0400
commite47c080ce8c2f32bc6ea61e0196a6ac48435f2dc (patch)
tree4babce0298f96ce437a60cc32a16f9bf16cf7c43 /ext/standard/streamsfuncs.c
parenta7b33bb431a76a410c7c46678814f5ef56297186 (diff)
downloadphp-git-e47c080ce8c2f32bc6ea61e0196a6ac48435f2dc.tar.gz
Fixed stream_filter_remove()
Diffstat (limited to 'ext/standard/streamsfuncs.c')
-rw-r--r--ext/standard/streamsfuncs.c2
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 {