From: Justin Erenkrantz Date: Thu, 30 May 2002 23:27:15 +0000 (+0000) Subject: This should have remained cleanup not a re-creation. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d22dbe73efe173016da0c2d24d1a8cd3c64e15a6;p=apache This should have remained cleanup not a re-creation. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95418 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index fec8be96ef..84ceb211e4 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -877,7 +877,7 @@ apr_status_t ap_http_filter(ap_filter_t *f, apr_bucket_brigade *b, ctx->remaining = get_chunk_size(line); /* Detect chunksize error (such as overflow) */ if (ctx->remaining < 0) { - bb = apr_brigade_create(f->c->pool, f->c->bucket_alloc); + apr_brigade_cleanup(bb); e = ap_bucket_error_create(HTTP_REQUEST_ENTITY_TOO_LARGE, NULL, f->r->pool, f->c->bucket_alloc);