diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-02-20 20:00:49 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-02-20 20:00:49 +0000 |
commit | 8081e2fdb098299152d631afb68b64c2088dd09b (patch) | |
tree | 50e86939fb7f5cecbcfd8467cb8a50a93caeb472 /channel.c | |
parent | ebcfde022fe2d8f9dfd20a3807bd2cdf281c42c5 (diff) |
Fix minor ordering issue (bug #981)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2206 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channel.c')
-rwxr-xr-x | channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -630,8 +630,8 @@ int ast_hangup(struct ast_channel *chan) /* If this channel is one which will be masqueraded into something, mark it as a zombie already, so we know to free it later */ if (chan->masqr) { - ast_mutex_unlock(&chan->lock); chan->zombie=1; + ast_mutex_unlock(&chan->lock); return 0; } free_translation(chan); |