提交 711e49c4 authored 作者: William King's avatar William King

Don't leak these 4 hash tables when mod_fifo is reloaded

上级 aae1954c
......@@ -4870,6 +4870,10 @@ SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_fifo_shutdown)
}
switch_core_hash_destroy(&globals.fifo_hash);
switch_core_hash_destroy(&globals.caller_orig_hash);
switch_core_hash_destroy(&globals.consumer_orig_hash);
switch_core_hash_destroy(&globals.bridge_hash);
switch_core_hash_destroy(&globals.use_hash);
memset(&globals, 0, sizeof(globals));
switch_mutex_unlock(mutex);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论