From 6930fdb28da830471f2b652aee097c632bc9591a Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Tue, 26 Mar 2019 22:08:15 +0100 Subject: [PATCH] [alsa] Fix memleak: Missing free --- src/outputs/alsa.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/outputs/alsa.c b/src/outputs/alsa.c index 10cdd91d..f00186ee 100644 --- a/src/outputs/alsa.c +++ b/src/outputs/alsa.c @@ -429,6 +429,8 @@ device_configure(struct alsa_session *as) goto out_fail; } + snd_pcm_sw_params_free(sw_params); + return 0; out_fail: