[asterisk-commits] tilghman: branch 1.4 r231298 - /branches/1.4/main/channel.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Nov 25 16:31:58 CST 2009
Author: tilghman
Date: Wed Nov 25 16:31:57 2009
New Revision: 231298
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=231298
Log:
After a frame duplication failure, unlock the channel before returning.
Modified:
branches/1.4/main/channel.c
Modified: branches/1.4/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/main/channel.c?view=diff&rev=231298&r1=231297&r2=231298
==============================================================================
--- branches/1.4/main/channel.c (original)
+++ branches/1.4/main/channel.c Wed Nov 25 16:31:57 2009
@@ -922,6 +922,7 @@
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;
}
More information about the asterisk-commits
mailing list