From ab4af532a13c5659e3355fb72428546a60e1925d Mon Sep 17 00:00:00 2001 From: Connor MacDonald Date: Thu, 24 May 2018 12:34:07 -0300 Subject: [PATCH] Fix another missing call to snd_ctl_close --- RtAudio.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/RtAudio.cpp b/RtAudio.cpp index 8255993..e1462f4 100644 --- a/RtAudio.cpp +++ b/RtAudio.cpp @@ -7162,6 +7162,7 @@ bool RtApiAlsa :: probeDeviceOpen( unsigned int device, StreamMode mode, unsigne } nDevices++; } + snd_ctl_close( chandle ); if ( nDevices == 0 ) { // This should not happen because a check is made before this function is called. -- 2.30.2