mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-03-27 07:58:02 -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. Fixes: https://github.com/alsa-project/alsa-lib/issues/181
This commit is contained in:
parent
a1e91720cc
commit
e7444e9e45
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