mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-14 15:24:13 +00:00
add switch_hashtable_insert_destructor so you can insert a pointer into a hash with a custom destructor and use it in spandsp to fix a leak on reloadxml with the tone_descriptor tables and fix a bunch of random tiny leaks etc
This commit is contained in:
1 parent
d789c6470a
commit
4178688b4a
12 files changed
+56
-37
No files matched your search
@@ -872,6 +872,7 @@ SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_v8_shutdown)
|
||||
switch_mutex_destroy(globals.event_mutex);
|
||||
|
||||
switch_core_hash_destroy(&module_manager.load_hash);
|
||||
switch_core_destroy_memory_pool(&module_manager.pool);
|
||||
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user