From 07ffca3af4d2a8ae6fa512c35af05119301c418a Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Sun, 27 May 2018 20:48:00 +0000 Subject: [PATCH] All error handling paths of this function call 'apr_brigade_destroy()' , except this one. So add it here too. Probably spotted with the help of the Coccinelle software (Thx Julia for the patch and for Coccinelle) See PR 53016 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1832351 13f79535-47bb-0310-9956-ffa450edef68 --- modules/proxy/mod_proxy_ajp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/proxy/mod_proxy_ajp.c b/modules/proxy/mod_proxy_ajp.c index 843f3995ed..3ffa1b554d 100644 --- a/modules/proxy/mod_proxy_ajp.c +++ b/modules/proxy/mod_proxy_ajp.c @@ -324,6 +324,7 @@ static int ap_proxy_ajp_request(apr_pool_t *p, request_rec *r, * Close it to clean things up. */ conn->close = 1; + apr_brigade_destroy(input_brigade); return HTTP_BAD_REQUEST; } } -- 2.50.1