projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
fix retval initialization
[m6w6/ext-http]
/
php_http_env_response.c
diff --git
a/php_http_env_response.c
b/php_http_env_response.c
index 2f2f161a676655bab5578d412dea6bc4206aaffb..0bcc21d9127ee025c2f7026b7fa7288bb28d495f 100644
(file)
--- 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) {
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);
}
zend_hash_destroy(&ctx->header);
zend_list_delete(ctx->stream->rsrc_id);