From 70677862e5548461918ce42af206cdca61dc250f Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 6 Jul 2013 23:04:14 +0200 Subject: [PATCH] audiod: Fix memory leak on exit: gengetopt. Free gengetopt config structure on exit. --- audiod.c | 1 + 1 file changed, 1 insertion(+) 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); } -- 2.30.2