X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_env_response.c;fp=php_http_env_response.c;h=0bcc21d9127ee025c2f7026b7fa7288bb28d495f;hp=2f2f161a676655bab5578d412dea6bc4206aaffb;hb=a7d0b03fc81daac03ac56f7506d489540ef12921;hpb=455306442cd599c5a5750a70053b1a5f47b08538 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);