X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=amp_filter.c;h=e91791bf8655e58cbc494901ad232fc1787cbe10;hp=d0a893f47518d8c8c33f957ad9b36ab6b80a38b1;hb=c282c836791cedf57c128555af90af37c7c01c05;hpb=fb6d93240bb9c7c3d2c8e1826d722296002fb487 diff --git a/amp_filter.c b/amp_filter.c index d0a893f4..e91791bf 100644 --- a/amp_filter.c +++ b/amp_filter.c @@ -156,6 +156,11 @@ err: btr_remove_node(btrn); } +static void amp_free_config(void *conf) +{ + amp_cmdline_parser_free(conf); +} + /** * The init function of the amplify filter. * @@ -172,6 +177,7 @@ void amp_filter_init(struct filter *f) f->pre_select = generic_filter_pre_select; f->post_select = amp_post_select; f->parse_config = amp_parse_config; + f->free_config = amp_free_config; f->help = (struct ggo_help) { .short_help = amp_filter_args_info_help, .detailed_help = amp_filter_args_info_detailed_help