diff options
author | Mark Spencer <markster@digium.com> | 2004-11-06 21:33:01 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-11-06 21:33:01 +0000 |
commit | 6cb38ac23a539bca16c989b195fdeca08779abb5 (patch) | |
tree | a5f42628f0ff2ce1270ac8d345ee3b0d2dd37d6f /channels/chan_local.c | |
parent | 0f11b3b189db6c59853a6e8b8d5c42e071a93ceb (diff) |
Add features (incomplete, highly experimental), fix DundiLookup app, debug improvements (bug #2800)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4167 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_local.c')
-rwxr-xr-x | channels/chan_local.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/channels/chan_local.c b/channels/chan_local.c index 661ab403e..fc5c74fea 100755 --- a/channels/chan_local.c +++ b/channels/chan_local.c @@ -335,6 +335,9 @@ static int local_hangup(struct ast_channel *ast) cur = cur->next; } ast_mutex_unlock(&locallock); + /* Grab / release lock just in case */ + ast_mutex_lock(&p->lock); + ast_mutex_unlock(&p->lock); /* And destroy */ if (!glaredetect) { ast_mutex_destroy(&p->lock); |