From a7d0b03fc81daac03ac56f7506d489540ef12921 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Thu, 19 Feb 2015 20:33:35 +0100 Subject: [PATCH] missing backport from phpng branch --- php_http_env_response.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php_http_env_response.c b/php_http_env_response.c index 2f2f161..0bcc21d 100644 --- a/php_http_env_response.c +++ b/php_http_env_response.c @@ -926,7 +926,7 @@ static void php_http_env_response_stream_dtor(php_http_env_response_t *r) TSRMLS_FETCH_FROM_CTX(r->ts); if (ctx->chunked_filter) { - php_stream_filter_free(ctx->chunked_filter TSRMLS_CC); + ctx->chunked_filter = php_stream_filter_remove(ctx->chunked_filter, 1 TSRMLS_CC); } zend_hash_destroy(&ctx->header); zend_list_delete(ctx->stream->rsrc_id); -- 2.30.2