]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - amp_filter.c
Switch audiod over to the buffer tree API.
[paraslash.git] / amp_filter.c
index d0a893f47518d8c8c33f957ad9b36ab6b80a38b1..e91791bf8655e58cbc494901ad232fc1787cbe10 100644 (file)
@@ -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