From d2ced2e6bbef4312134d6e96aaa80a7ed76d0bb6 Mon Sep 17 00:00:00 2001 From: David Reid Date: Sun, 4 Mar 2018 10:15:40 +1000 Subject: [PATCH] ALSA: Close asound.so when the context is uninitialized. --- mini_al.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mini_al.h b/mini_al.h index 89fe7fb4..be6ecac0 100644 --- a/mini_al.h +++ b/mini_al.h @@ -5941,7 +5941,7 @@ mal_result mal_context_uninit__alsa(mal_context* pContext) mal_assert(pContext != NULL); mal_assert(pContext->backend == mal_backend_alsa); - (void)pContext; + mal_dlclose(pContext->alsa.asoundSO); return MAL_SUCCESS; }