From 969a0733bf868b14c4299fb46b3e7dd68432838f Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Tue, 15 Jun 2004 20:49:46 +0000 Subject: [PATCH] * modules/filters/mod_include.c (send_parsed_content): Only destroy the temporary brigade if it wasn't passed on to the next filter. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103966 13f79535-47bb-0310-9956-ffa450edef68 --- modules/filters/mod_include.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/filters/mod_include.c b/modules/filters/mod_include.c index 71b7a98331..0217a8a3fd 100644 --- a/modules/filters/mod_include.c +++ b/modules/filters/mod_include.c @@ -3453,9 +3453,8 @@ static apr_status_t send_parsed_content(ap_filter_t *f, apr_bucket_brigade *bb) } else { rv = APR_SUCCESS; + apr_brigade_destroy(pass_bb); } - - apr_brigade_destroy(pass_bb); return rv; } -- 2.50.1