diff --git a/src/switch_loadable_module.c b/src/switch_loadable_module.c index d87d37f7fc..26e93a8071 100644 --- a/src/switch_loadable_module.c +++ b/src/switch_loadable_module.c @@ -1766,8 +1766,8 @@ SWITCH_DECLARE(switch_status_t) switch_loadable_module_init(switch_bool_t autolo switch_loadable_module_runtime(); - chat_globals.running = 1; memset(&chat_globals, 0, sizeof(chat_globals)); + chat_globals.running = 1; chat_globals.pool = loadable_modules.pool; switch_mutex_init(&chat_globals.mutex, SWITCH_MUTEX_NESTED, chat_globals.pool);