Commit 83eac2ca authored by Christophe Jaillet's avatar Christophe Jaillet
Browse files

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
parent cf981aa2
Loading
Loading
Loading
Loading
+1 −0
Changes for modules/proxy/mod_proxy_ajp.c: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -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;
        }
    }