]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Properly clean up manager resources on exit
authorMatthew Jordan <mjordan@digium.com>
Sun, 4 Nov 2012 02:30:30 +0000 (02:30 +0000)
committerMatthew Jordan <mjordan@digium.com>
Sun, 4 Nov 2012 02:30:30 +0000 (02:30 +0000)
commit64f4ef4eb75f70da3366278fd6c9d83760ffc399
tree6882f25c7473213de38fbba02603b47895b521da
parenta08f48089c6df7169f59aa632b0e92dc978cd42a
Properly clean up manager resources on exit

This patch does two things:
1) It properly unregisters the manager CLI commands
2) It cleans up AMI users on exit.  Prior to this patch, the AMI users
   were not being disposed of properly, resulting in a memory leak.

(closes issue ASTERISK-20646)
Reported by: Corey Farrell
patches:
  manager_shutdown.patch uploaded by Corey Farrell (license 5909)
........

Merged revisions 375793 from http://svn.asterisk.org/svn/asterisk/branches/1.8

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@375794 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/manager.c