Fix some bugs in the SIP tcp helper thread.
authorRussell Bryant <russell@russellbryant.com>
Tue, 4 Mar 2008 20:36:16 +0000 (20:36 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 4 Mar 2008 20:36:16 +0000 (20:36 +0000)
commit7b1e335999eac4754e9be43953dbd67fc11ff07a
tree52202c559c909d3399b23587958cb5a50eed388f
parent7bf9f4677452b0a53dcbf3141cae11fc4a2d61a7
Fix some bugs in the SIP tcp helper thread.
 - fix a spot where a lock wouldn't get unlocked in an error condition
 - call ast_mutex_destroy() on the lock before freeing its memory

(related to issue #11972)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@105734 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c