mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Memory leaks fix
(closes ASTERISK-22376) Reported by: John Hardin Patches: memleak.patch uploaded by jhardin (license 6512) memleak2.patch uploaded by jhardin (license 6512) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@397946 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3001,6 +3001,8 @@ static void app_cleanup(void)
|
||||
mwi_topic_pool = NULL;
|
||||
ao2_cleanup(mwi_topic_all);
|
||||
mwi_topic_all = NULL;
|
||||
ao2_cleanup(mwi_state_cache);
|
||||
mwi_state_cache = NULL;
|
||||
mwi_topic_cached = stasis_caching_unsubscribe_and_join(mwi_topic_cached);
|
||||
STASIS_MESSAGE_TYPE_CLEANUP(ast_mwi_state_type);
|
||||
STASIS_MESSAGE_TYPE_CLEANUP(ast_mwi_vm_app_type);
|
||||
|
Reference in New Issue
Block a user