diff options
author | Brent Eagles <beagles@digium.com> | 2012-09-28 13:04:11 +0000 |
---|---|---|
committer | Brent Eagles <beagles@digium.com> | 2012-09-28 13:04:11 +0000 |
commit | 89d427ca2465e8dfa4f6f490bb884259092e0023 (patch) | |
tree | c73e7b128c8f6ca2167044c05624d0eaebfe1b95 /res/res_xmpp.c | |
parent | b6a00a1d976f30251332c2ae0ec95514d794968f (diff) |
Reset hangup flags on channels created through messages and cleanup globals
in res_xmpp on unload.
This patch fixes an issue where hangup flags were not being reset on a
channel, affecting subsequent use of that channel. The patch also adds some
additional cleanup to res_xmpp to fix an issue with reloading the module.
(closes ASTERISK-20360)
Reported by: Noah Engelberth
Tested by: beagles
Review: https://reviewboard.asterisk.org/r/2134/
........
Merged revisions 374019 from http://svn.asterisk.org/svn/asterisk/branches/11
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@374020 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_xmpp.c')
-rw-r--r-- | res/res_xmpp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/res/res_xmpp.c b/res/res_xmpp.c index ed4c95618..9e9d47c16 100644 --- a/res/res_xmpp.c +++ b/res/res_xmpp.c @@ -4204,6 +4204,8 @@ static int unload_module(void) ast_manager_unregister("JabberSend"); ast_custom_function_unregister(&jabberstatus_function); ast_custom_function_unregister(&jabberreceive_function); + aco_info_destroy(&cfg_info); + ao2_global_obj_release(globals); ast_cond_destroy(&message_received_condition); ast_mutex_destroy(&messagelock); |