diff options
author | Kevin Harwell <kharwell@digium.com> | 2013-08-30 19:22:59 +0000 |
---|---|---|
committer | Kevin Harwell <kharwell@digium.com> | 2013-08-30 19:22:59 +0000 |
commit | 16b8d0cb5a3b15eae8db19c99223170ebed79fef (patch) | |
tree | b9bce6e9b0540017239a82633619ba4b60c441a7 /res/res_security_log.c | |
parent | dbbb674be0c3e7fe63dd8f76405a961812dbe6c5 (diff) |
Fix various memory leaks
main/config.c - cleanup cache fie includes
res/res_security_log.c - unregister logger level
channesl/chan_sip.c - cleanup io context and notify_types
main/translator.c - cleanup at shutdown
main/named_acl.c - cleanup cli commands
main/indications.c - ast_get_indication_tone() unref default_tone_zone if used
(closes issues ASTERISK-22378)
Reported by: Corey Farrell
Patches:
config_shutdown.patch uploaded by coreyfarrell (license 5909)
res_security_log.patch uploaded by coreyfarrell (license 5909)
chan_sip-11.patch uploaded by coreyfarrell (license 5909)
indications_refleak.patch uploaded by coreyfarrell (license 5909)
named_acl-cli_unreg-trunk.patch uploaded by coreyfarrell (license 5909)
translate_shutdown.patch uploaded by coreyfarrell (license 5909)
........
Merged revisions 398102 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 398103 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 398116 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@398124 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_security_log.c')
-rw-r--r-- | res/res_security_log.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/res/res_security_log.c b/res/res_security_log.c index 9e87acf12..d06f9f754 100644 --- a/res/res_security_log.c +++ b/res/res_security_log.c @@ -155,6 +155,8 @@ static int unload_module(void) security_stasis_sub = stasis_unsubscribe(security_stasis_sub); } + ast_logger_unregister_level(LOG_SECURITY_NAME); + ast_verb(3, "Security Logging Disabled\n"); return 0; |