mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-15 13:58:32 +00:00
freetdm: return error when dlclose fails
This commit is contained in:
1 parent
a611a7e944
commit
f04bff40fa
3 files changed
+18
-6
No files matched your search
@@ -2142,12 +2142,13 @@ static FIO_SIG_UNLOAD_FUNCTION(ftdm_sangoma_boost_destroy)
|
||||
const void *key = NULL;
|
||||
void *val = NULL;
|
||||
ftdm_dso_lib_t lib;
|
||||
|
||||
ftdm_log(FTDM_LOG_DEBUG, "Destroying sangoma boost module\n");
|
||||
for (i = hashtable_first(g_boost_modules_hash); i; i = hashtable_next(i)) {
|
||||
hashtable_this(i, &key, NULL, &val);
|
||||
if (key && val) {
|
||||
sigmod = val;
|
||||
lib = sigmod->pvt;
|
||||
ftdm_log(FTDM_LOG_DEBUG, "destroying sigmod %s\n", sigmod->name);
|
||||
ftdm_dso_destroy(&lib);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user