]> git.tue.mpg.de Git - paraslash.git/commitdiff
audiod: Fix memory leak on exit: gengetopt.
authorAndre Noll <maan@systemlinux.org>
Sat, 6 Jul 2013 21:04:14 +0000 (23:04 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 22 Sep 2013 00:29:18 +0000 (02:29 +0200)
Free gengetopt config structure on exit.

audiod.c

index d2a58bbe2a22dd2462e554a3dc9f0c3ca136e98a..2367d9cb443ecc1d0f52f64e31f76a731b13c8b4 100644 (file)
--- a/audiod.c
+++ b/audiod.c
@@ -1142,6 +1142,7 @@ void __noreturn clean_exit(int status, const char *msg)
        close_stat_pipe();
        FOR_EACH_SLOT(i)
                close_slot(i);
+       audiod_cmdline_parser_free(&conf);
        exit(status);
 }