aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-11-25 22:34:38 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-11-25 22:34:38 +0000
commit484461b71db630672a17005c5d8aed77b6614d5c (patch)
tree9f40c8c1bb7abbc3d70de0dcf325c679d7be0e7b /main
parent772172531bfbcf73f374cfa4afe41ca93d564f24 (diff)
Merged revisions 231299 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r231299 | tilghman | 2009-11-25 16:33:02 -0600 (Wed, 25 Nov 2009) | 9 lines Merged revisions 231298 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r231298 | tilghman | 2009-11-25 16:31:57 -0600 (Wed, 25 Nov 2009) | 2 lines After a frame duplication failure, unlock the channel before returning. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@231301 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r--main/channel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/channel.c b/main/channel.c
index 3f9f16178..41748df76 100644
--- a/main/channel.c
+++ b/main/channel.c
@@ -1008,6 +1008,7 @@ static int __ast_queue_frame(struct ast_channel *chan, struct ast_frame *fin, in
for (cur = fin; cur; cur = AST_LIST_NEXT(cur, frame_list)) {
if (!(f = ast_frdup(cur))) {
ast_frfree(AST_LIST_FIRST(&frames));
+ ast_channel_unlock(chan);
return -1;
}