Fix a couple of places in res_agi where the agi_commands lock would not be
authorRussell Bryant <russell@russellbryant.com>
Tue, 15 Jul 2008 18:46:40 +0000 (18:46 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 15 Jul 2008 18:46:40 +0000 (18:46 +0000)
commit5ac03d340f6457ecdab6a077d85f0edff7b23b83
tree9d569121b7149739c55a69b51503aab5887d1aa9
parent49715c05f12d590f5bfd25aa9336c306c4269adf
Fix a couple of places in res_agi where the agi_commands lock would not be
released, causing a deadlock.  (Reported by mvanbaak in #asterisk-dev,
discovered by bbryant's change to the lock tracking code to yell at you
if a thread exits with a lock still held)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@131072 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_agi.c