diff options
Diffstat (limited to 'ext/alsaspdif')
-rw-r--r-- | ext/alsaspdif/alsaspdifsink.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/alsaspdif/alsaspdifsink.c b/ext/alsaspdif/alsaspdifsink.c index f59a1563..bc1e2276 100644 --- a/ext/alsaspdif/alsaspdifsink.c +++ b/ext/alsaspdif/alsaspdifsink.c @@ -589,6 +589,7 @@ alsaspdifsink_find_pcm_device (AlsaSPDIFSink * sink) beach: if (pcm) snd_pcm_close (pcm); + snd_ctl_elem_list_clear (clist); snd_ctl_close (ctl); return err; } |