Fixed stream_filter_remove()

This commit is contained in:
Dmitry Stogov committed 2014-03-18 11:50:22 +04:00
1 parent a7b33bb431
commit e47c080ce8
1 file changed
+1 -1
+1 -1
View File
@@ -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 {