1
0
mirror of https://github.com/php/php-src.git synced 2026-03-30 04:02:19 +02:00

Fixed stream_filter_remove()

This commit is contained in:
Dmitry Stogov
2014-03-18 11:50:22 +04:00
parent a7b33bb431
commit e47c080ce8

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 {