summaryrefslogtreecommitdiff
path: root/sapi/apache2handler
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2018-09-09 12:29:34 -0700
committerStanislav Malyshev <stas@php.net>2018-09-09 12:29:34 -0700
commitaf38a991ffad0a4a19704d53f422bbef7b693ba5 (patch)
tree6bbfe24ca7b26ea7ef8bb0346fa0f633af28abc1 /sapi/apache2handler
parent9eec7d06f65c01f1c35fc068aa7cfb44b42d2d88 (diff)
parent788717d56d48f6697829d95cf9b9a49a35d53058 (diff)
downloadphp-git-af38a991ffad0a4a19704d53f422bbef7b693ba5.tar.gz
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2: Update NEWS Fix for bug #76582
Diffstat (limited to 'sapi/apache2handler')
-rw-r--r--sapi/apache2handler/sapi_apache2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sapi/apache2handler/sapi_apache2.c b/sapi/apache2handler/sapi_apache2.c
index a198cddec9..121ed683d6 100644
--- a/sapi/apache2handler/sapi_apache2.c
+++ b/sapi/apache2handler/sapi_apache2.c
@@ -710,6 +710,7 @@ zend_first_try {
if (!parent_req) {
php_apache_request_dtor(r);
ctx->request_processed = 1;
+ apr_brigade_cleanup(brigade);
bucket = apr_bucket_eos_create(r->connection->bucket_alloc);
APR_BRIGADE_INSERT_TAIL(brigade, bucket);