summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Jaillet <jailletc36@apache.org>2018-05-27 20:48:00 +0000
committerChristophe Jaillet <jailletc36@apache.org>2018-05-27 20:48:00 +0000
commit07ffca3af4d2a8ae6fa512c35af05119301c418a (patch)
treebd9ff30976052b16d9c316dd2a5f38d99a1123c4
parent2aa27e3a01b504ba0b63c1122d72f94005c19e71 (diff)
downloadhttpd-07ffca3af4d2a8ae6fa512c35af05119301c418a.tar.gz
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
-rw-r--r--modules/proxy/mod_proxy_ajp.c1
1 files changed, 1 insertions, 0 deletions
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;
}
}