]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.c
filter: allow for cleanup hook for filter types
[ps-cgit] / cgit.c
diff --git a/cgit.c b/cgit.c
index 29b658e7d2c1960b5caab306b1af066feab36092..4f31e58a27594650c79b7cc8010891f3f5869852 100644 (file)
--- a/cgit.c
+++ b/cgit.c
@@ -951,6 +951,7 @@ int main(int argc, const char **argv)
                ctx.cfg.cache_size = 0;
        err = cache_process(ctx.cfg.cache_size, ctx.cfg.cache_root,
                            ctx.qry.raw, ttl, process_request, &ctx);
+       cgit_cleanup_filters();
        if (err)
                cgit_print_error("Error processing page: %s (%d)",
                                 strerror(err), err);