Fix memory leaks in [alsa,file,oss]write.c.
authorAndre Noll <maan@systemlinux.org>
Sun, 19 Jul 2009 12:16:42 +0000 (14:16 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 19 Jul 2009 12:16:42 +0000 (14:16 +0200)
Small and harmless but anyway.

alsa_write.c
file_write.c
oss_write.c

index cf0f335..1e44609 100644 (file)
@@ -263,4 +263,5 @@ void alsa_write_init(struct writer *w)
                .short_help = alsa_write_args_info_help,
                .detailed_help = alsa_write_args_info_detailed_help
        };
+       alsa_cmdline_parser_free(&dummy);
 }
index 92777d7..e03cf8f 100644 (file)
@@ -123,4 +123,5 @@ void file_write_init(struct writer *w)
                .short_help = file_write_args_info_help,
                .detailed_help = file_write_args_info_detailed_help
        };
+       file_cmdline_parser_free(&dummy);
 }
index 552d5b9..6a55005 100644 (file)
@@ -216,4 +216,5 @@ void oss_write_init(struct writer *w)
                .short_help = oss_write_args_info_help,
                .detailed_help = oss_write_args_info_detailed_help
        };
+       oss_cmdline_parser_free(&dummy);
 }