From 34e99ad251502bcadbbba53ba69dc3f2f0516e69 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 25 Apr 2006 17:24:39 +0200 Subject: [PATCH] Add missing snd_dlclose() in snd_hwdep_close() Added the missing snd_dlclose() in snd_hwdep_close(). --- src/hwdep/hwdep.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.47.1