]> git.tue.mpg.de Git - paraslash.git/commitdiff
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 cf0f335bebc7426c9b24aad7537601be3dbb0dd7..1e44609383d2e57b357a92cc780d162233075a4a 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 92777d7ddc4af81b173b5017559af6ea1a1af407..e03cf8f65acea814d5dc62a9e450b056527b06f4 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 552d5b9705821df8d25720b29f8069629dcb0ade..6a55005ec8247a46c424ebabe9308e03f03c1d24 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);
 }