]> granicus.if.org Git - apache/commitdiff
* modules/filters/mod_include.c (send_parsed_content): Only destroy
authorJoe Orton <jorton@apache.org>
Tue, 15 Jun 2004 20:49:46 +0000 (20:49 +0000)
committerJoe Orton <jorton@apache.org>
Tue, 15 Jun 2004 20:49:46 +0000 (20:49 +0000)
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

index 71b7a983314deae9cf7b5891eb147e98b3e61bfd..0217a8a3fd65e63d31f28d42062fbfb882dde1b2 100644 (file)
@@ -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;
 }