From: Victor J. Orlikowski Date: Mon, 2 Jul 2001 03:37:37 +0000 (+0000) Subject: Remove a couple of extraneous calls to apr_brigade_cleanup() X-Git-Tag: 2.0.20~28 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3bb89937f4f4a18d800b1c73d836e41471b3918b;p=apache Remove a couple of extraneous calls to apr_brigade_cleanup() git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89489 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/proxy_ftp.c b/modules/proxy/proxy_ftp.c index 134a3c034c..a6fca34980 100644 --- a/modules/proxy/proxy_ftp.c +++ b/modules/proxy/proxy_ftp.c @@ -1590,7 +1590,6 @@ int ap_proxy_ftp_handler(request_rec *r, proxy_server_conf *conf, } if (ap_pass_brigade(r->output_filters, bb) != APR_SUCCESS) { /* Ack! Phbtt! Die! User aborted! */ - apr_brigade_cleanup(bb); break; } apr_brigade_cleanup(bb); diff --git a/modules/proxy/proxy_http.c b/modules/proxy/proxy_http.c index bae4571931..d1992bcdd2 100644 --- a/modules/proxy/proxy_http.c +++ b/modules/proxy/proxy_http.c @@ -790,7 +790,6 @@ int ap_proxy_http_handler(request_rec *r, proxy_server_conf *conf, } if (ap_pass_brigade(r->output_filters, bb) != APR_SUCCESS) { /* Ack! Phbtt! Die! User aborted! */ - apr_brigade_cleanup(bb); close = 1; /* this causes socket close below */ break; }