Prevent a potential crash when using manager hooks.
authorJason Parker <jparker@digium.com>
Tue, 1 May 2012 21:49:25 +0000 (21:49 +0000)
committerJason Parker <jparker@digium.com>
Tue, 1 May 2012 21:49:25 +0000 (21:49 +0000)
commit885fbf6b046bdee9cd8b10a61a2e83d7fa3682ec
treef7d056074fe6b53efd8ab277c3d47e02568074ef
parenta965f18695137320d1b50df0f84fdb307e4da57d
Prevent a potential crash when using manager hooks.

Found by me while poking at DPMA-127.
........

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

Merged revisions 364842 from http://svn.asterisk.org/svn/asterisk/branches/10

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