From 94401f7afea39b71bc0a7ceb607f0b3db70d291f Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Mon, 4 Nov 2019 18:38:59 +0100 Subject: [PATCH] alsaucm: call snd_config_update_free_global() to make valgrind more happy Signed-off-by: Jaroslav Kysela --- alsaucm/usecase.c | 1 + 1 file changed, 1 insertion(+) diff --git a/alsaucm/usecase.c b/alsaucm/usecase.c index fbbe73a..532bac0 100644 --- a/alsaucm/usecase.c +++ b/alsaucm/usecase.c @@ -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); }