mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
Add missing snd_dlclose() in snd_hwdep_close()
Added the missing snd_dlclose() in snd_hwdep_close().
This commit is contained in:
parent
2875f1169f
commit
34e99ad251
1 changed files with 2 additions and 0 deletions
|
|
@ -207,6 +207,8 @@ int snd_hwdep_close(snd_hwdep_t *hwdep)
|
|||
int err;
|
||||
assert(hwdep);
|
||||
err = hwdep->ops->close(hwdep);
|
||||
if (hwdep->dl_handle)
|
||||
snd_dlclose(hwdep->dl_handle);
|
||||
free(hwdep->name);
|
||||
free(hwdep);
|
||||
return err;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue