alsa-project / alsa-lib

The Advanced Linux Sound Architecture (ALSA) - library
GNU Lesser General Public License v2.1
366 stars 177 forks source link

dlmisc.c: Avoid double unlock in snd_dlobj_cache_get0() #182

Closed johado closed 3 years ago

johado commented 3 years ago

Remove call to snd_dlobj_unlock() in snd_dlobj_cache_get0() All lock/unlock is done by callers of the function.

Fixes: https://github.com/alsa-project/alsa-lib/issues/181