From d1c0c7c6c560721429c9999c507e0a699ed320b7 Mon Sep 17 00:00:00 2001 From: Richard Mudgett Date: Fri, 16 Dec 2011 21:29:05 +0000 Subject: [PATCH] Fix cut and past error in ast_call_forward(). (issue ASTERISK-18836) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@348401 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/channel.c b/main/channel.c index b8e7e38e02..7294eb26fa 100644 --- a/main/channel.c +++ b/main/channel.c @@ -5244,7 +5244,7 @@ struct ast_channel *ast_call_forward(struct ast_channel *caller, struct ast_chan if (oh->account) { ast_channel_lock(new); ast_cdr_setaccount(new, oh->account); - ast_channel_lock(new); + ast_channel_unlock(new); } } else if (caller) { /* no outgoing helper so use caller if avaliable */ ast_channel_update_redirecting(caller, apr, NULL); -- 2.47.2