diff options
author | Takashi Iwai <tiwai@suse.de> | 2006-04-25 17:24:39 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2006-04-25 17:24:39 +0200 |
commit | 34e99ad251502bcadbbba53ba69dc3f2f0516e69 (patch) | |
tree | e0a0f68442afb574d7815330d70ce82a98a0ba35 /src/hwdep | |
parent | 2875f1169fbb1350f87e1bba794b5e45b4a79322 (diff) | |
download | alsa-lib-34e99ad251502bcadbbba53ba69dc3f2f0516e69.tar.gz |
Add missing snd_dlclose() in snd_hwdep_close()
Added the missing snd_dlclose() in snd_hwdep_close().
Diffstat (limited to 'src/hwdep')
-rw-r--r-- | src/hwdep/hwdep.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hwdep/hwdep.c b/src/hwdep/hwdep.c index 4d4490cd..300c62a5 100644 --- a/src/hwdep/hwdep.c +++ b/src/hwdep/hwdep.c @@ -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; |