Fix a couple of places in res_agi where the agi_commands lock would not be
commitf5a23304954b13755e50216c70ce563885da277f
authorrussell <russell@614ede4d-c843-0410-af14-a771ab80d22e>
Tue, 15 Jul 2008 18:46:40 +0000 (15 18:46 +0000)
committerrussell <russell@614ede4d-c843-0410-af14-a771ab80d22e>
Tue, 15 Jul 2008 18:46:40 +0000 (15 18:46 +0000)
tree9d569121b7149739c55a69b51503aab5887d1aa9
parent7a71e098d469358a8f832f66181cb45dbfa2556e
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: http://svn.digium.com/svn/asterisk/trunk@131072 614ede4d-c843-0410-af14-a771ab80d22e
res/res_agi.c