From: Andre Noll Date: Sat, 6 Jul 2013 21:04:14 +0000 (+0200) Subject: audiod: Fix memory leak on exit: gengetopt. X-Git-Tag: v0.5.1~11^2~5 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=70677862e5548461918ce42af206cdca61dc250f;p=paraslash.git audiod: Fix memory leak on exit: gengetopt. Free gengetopt config structure on exit. --- diff --git a/audiod.c b/audiod.c index d2a58bbe..2367d9cb 100644 --- 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); }