Fix memory leaks in xxx_recv_init().
authorAndre Noll <maan@systemlinux.org>
Sat, 18 Jul 2009 10:25:39 +0000 (12:25 +0200)
committerAndre Noll <maan@systemlinux.org>
Sat, 18 Jul 2009 10:25:39 +0000 (12:25 +0200)
Not serious but it's good to make valgrind happy.

dccp_recv.c
http_recv.c
udp_recv.c

index 93dea80..9544458 100644 (file)
@@ -157,4 +157,5 @@ void dccp_recv_init(struct receiver *r)
                .short_help = dccp_recv_args_info_help,
                .detailed_help = dccp_recv_args_info_detailed_help
        };
+       dccp_recv_cmdline_parser_free(&dummy);
 }
index 7f13034..7a751e4 100644 (file)
@@ -203,4 +203,5 @@ void http_recv_init(struct receiver *r)
                .short_help = http_recv_args_info_help,
                .detailed_help = http_recv_args_info_detailed_help
        };
+       http_recv_cmdline_parser_free(&dummy);
 }
index ad8d51f..e4d2340 100644 (file)
@@ -238,4 +238,5 @@ void udp_recv_init(struct receiver *r)
                .short_help = udp_recv_args_info_help,
                .detailed_help = udp_recv_args_info_detailed_help
        };
+       udp_recv_cmdline_parser_free(&dummy);
 }