X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=filter.c;h=56afebf3a6ecfed020cf2c6dad065168a80277e0;hp=cfa2e94fad98aa255d38bb22dc9906f6fe863c3f;hb=968b72b29cf48bae18ecfccbc68b7c241d3d86f7;hpb=b0cad48a864fe3f621138e717ff025060c396fad diff --git a/filter.c b/filter.c index cfa2e94f..56afebf3 100644 --- a/filter.c +++ b/filter.c @@ -30,8 +30,6 @@ INIT_FILTER_ERRLISTS; -#define INBUF_SIZE 32 * 1024 - static struct stdin_task stdin_task_struct; static struct stdin_task *sit = &stdin_task_struct; static struct filter_chain filter_chain_struct; @@ -169,8 +167,8 @@ int main(int argc, char *argv[]) ret = sched(&s); out: free(sit->buf); + close_filters(fc); if (ret < 0) PARA_EMERG_LOG("%s\n", PARA_STRERROR(-ret)); - close_filters(fc); return ret < 0? EXIT_FAILURE : EXIT_SUCCESS; }