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: https://origsvn.digium.com/svn/asterisk/trunk@231299 65c4cc65-6c06-0410-ace0-fbb531ad65f3
certified/1.8.6
Tilghman Lesher 16 years ago
parent e5a2850f01
commit f98c12a57d

@ -1084,6 +1084,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;
}

Loading…
Cancel
Save