Fix Manager Segfault When app_queue Is Unloaded
authorMichael L. Young <elgueromexicano@gmail.com>
Fri, 12 Apr 2013 22:38:56 +0000 (22:38 +0000)
committerMichael L. Young <elgueromexicano@gmail.com>
Fri, 12 Apr 2013 22:38:56 +0000 (22:38 +0000)
commita7c5183d671a8a5769bb302bb71da67350771456
treeb5ed63db9182bcbf3451bca541b08cb7e55944c8
parent510b3b3594266fc96d3fa9342c8f968acc51d161
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
apps/app_queue.c