filter.h: Kill some unused fields of struct filter_node.
[paraslash.git] / dccp_recv.c
index 4d4ac86db31cb28f1d2d1d9f081f13dc8a139dcc..4e1860e389d2da2927b8153cf0a0eba3be6e3ca2 100644 (file)
@@ -136,6 +136,11 @@ static void dccp_recv_post_select(struct sched *s, struct task *t)
                t->error = -E_RECV_EOF;
 }
 
+static void dccp_recv_free_config(void *conf)
+{
+       dccp_recv_cmdline_parser_free(conf);
+}
+
 /**
  * The init function of the dccp receiver.
  *
@@ -154,8 +159,10 @@ void dccp_recv_init(struct receiver *r)
        r->pre_select = dccp_recv_pre_select;
        r->post_select = dccp_recv_post_select;
        r->parse_config = dccp_recv_parse_config;
+       r->free_config = dccp_recv_free_config;
        r->help = (struct ggo_help) {
                .short_help = dccp_recv_args_info_help,
                .detailed_help = dccp_recv_args_info_detailed_help
        };
+       dccp_recv_cmdline_parser_free(&dummy);
 }