]> git.alsa-project.org Git - alsa-lib.git/commit
dlmisc.c: Avoid double unlock in snd_dlobj_cache_get0()
authorJohan Adolfsson <johana@axis.com>
Thu, 7 Oct 2021 10:12:24 +0000 (12:12 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 7 Oct 2021 14:52:56 +0000 (16:52 +0200)
commit42eeb5eca03accb9711698e3991551a22e762543
treed20c941fa193241ae9b75ea3b81c3acb5e7d8bf8
parenta1e91720ccfe24611e841213fc0641436ae7d453
dlmisc.c: Avoid double unlock in snd_dlobj_cache_get0()

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

Buglink: https://github.com/alsa-project/alsa-lib/issues/181
Fixes: https://github.com/alsa-project/alsa-lib/pull/182
Signed-off-by: Johan Adolfsson <johana@axis.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/dlmisc.c