diff options
author | Michael L. Young <elgueromexicano@gmail.com> | 2013-04-12 22:38:56 +0000 |
---|---|---|
committer | Michael L. Young <elgueromexicano@gmail.com> | 2013-04-12 22:38:56 +0000 |
commit | a7c5183d671a8a5769bb302bb71da67350771456 (patch) | |
tree | b5ed63db9182bcbf3451bca541b08cb7e55944c8 /apps | |
parent | 510b3b3594266fc96d3fa9342c8f968acc51d161 (diff) |
Fix Manager Segfault When app_queue Is Unloaded
When app_queue is unloaded, some manager commands are not being unregistered
which result in a segfault. This patch corrects this.
(closes issue ASTERISK-21397)
Reported by: Peter Katzmann, Corey Farrell
Tested by: Corey Farrell
Patches:
asterisk-21397-missing-unreg-manager-cmd_1.8.diff
Michael L. Young (license 5026)
asterisk-21397-missing-unreg-manager-cmd_11.diff
Michael L. Young (license 5026)
Review: https://reviewboard.asterisk.org/r/2444/
........
Merged revisions 385593 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 385594 from http://svn.asterisk.org/svn/asterisk/branches/11
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@385595 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_queue.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index 6e410002a..fd692a4b2 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -9857,6 +9857,9 @@ static int unload_module(void) res |= ast_manager_unregister("QueuePause"); res |= ast_manager_unregister("QueueLog"); res |= ast_manager_unregister("QueuePenalty"); + res |= ast_manager_unregister("QueueReload"); + res |= ast_manager_unregister("QueueReset"); + res |= ast_manager_unregister("QueueMemberRingInUse"); res |= ast_unregister_application(app_aqm); res |= ast_unregister_application(app_rqm); res |= ast_unregister_application(app_pqm); |