]> granicus.if.org Git - apache/blobdiff - modules/http/byterange_filter.c
Make sure to not destroy bucket brigades that have been created by earlier
[apache] / modules / http / byterange_filter.c
index a79b7f7d6deb88cff6bca019bfb0a6a3053fa4f4..92048ab75d75f5d3cf6a544609de35ab0806f031 100644 (file)
@@ -307,7 +307,7 @@ AP_CORE_DECLARE_NONSTD(apr_status_t) ap_byterange_filter(ap_filter_t *f,
     APR_BRIGADE_INSERT_TAIL(bsend, e);
 
     /* we're done with the original content - all of our data is in bsend. */
-    apr_brigade_destroy(bb);
+    apr_brigade_cleanup(bb);
 
     /* send our multipart output */
     return ap_pass_brigade(f->next, bsend);