X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=compress_filter.c;h=39055618cde7ea16bfd5f2207f4b00a3b314c5e2;hp=a0b53bde61a093b7c9a07595df6af51a8cc1cb65;hb=a94872914afe2e9cc96bb9f8f931a34fb471bb11;hpb=b47dff48fac126f844f6497189b190a5a00957ec diff --git a/compress_filter.c b/compress_filter.c index a0b53bde..39055618 100644 --- a/compress_filter.c +++ b/compress_filter.c @@ -188,6 +188,11 @@ static void open_compress(struct filter_node *fn) pcd->max_gain = 1 << (pcd->conf->inertia_arg + pcd->conf->aggressiveness_arg); } +static void compress_free_config(void *conf) +{ + compress_cmdline_parser_free(conf); +} + /** * The init function of the compress filter. * @@ -204,6 +209,7 @@ void compress_filter_init(struct filter *f) f->pre_select = generic_filter_pre_select; f->post_select = compress_post_select; f->parse_config = compress_parse_config; + f->free_config = compress_free_config; f->help = (struct ggo_help) { .short_help = compress_filter_args_info_help, .detailed_help = compress_filter_args_info_detailed_help