]> granicus.if.org Git - apache/commitdiff
Remove a couple of extraneous calls to apr_brigade_cleanup()
authorVictor J. Orlikowski <orlikowski@apache.org>
Mon, 2 Jul 2001 03:37:37 +0000 (03:37 +0000)
committerVictor J. Orlikowski <orlikowski@apache.org>
Mon, 2 Jul 2001 03:37:37 +0000 (03:37 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89489 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/proxy_ftp.c
modules/proxy/proxy_http.c

index 134a3c034c5090ed6588a176e8e788afe41261a5..a6fca3498029111b0be678f1e7d07d6f0f2f93ec 100644 (file)
@@ -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);
index bae4571931d6a36ad6bf20a0973eb2702e0dd69a..d1992bcdd2954ad868f2c82dc86b811cf0d73aff 100644 (file)
@@ -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;
             }