mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
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>
This commit is contained in:
parent
a1e91720cc
commit
42eeb5eca0
1 changed files with 0 additions and 1 deletions
|
|
@ -359,7 +359,6 @@ snd_dlobj_cache_get0(const char *lib, const char *name,
|
|||
free(c);
|
||||
__err:
|
||||
snd_dlclose(dlobj);
|
||||
snd_dlobj_unlock();
|
||||
return NULL;
|
||||
}
|
||||
c->dlobj = dlobj;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue