alsaucm: call snd_config_update_free_global() to make valgrind more happy

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2019-11-04 18:38:59 +01:00
parent 5828279b5d
commit 94401f7afe

View file

@ -361,6 +361,7 @@ static void my_exit(struct context *context, int exitcode)
if (context->batch)
free(context->batch);
free(context);
snd_config_update_free_global();
exit(exitcode);
}