[asterisk-commits] mvanbaak: trunk r233089 - /trunk/channels/chan_skinny.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Dec 4 10:55:11 CST 2009


Author: mvanbaak
Date: Fri Dec  4 10:55:07 2009
New Revision: 233089

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=233089
Log:
Let's unlock the lines list after the AST_LIST_TRAVERSE instead of inside it.

Modified:
    trunk/channels/chan_skinny.c

Modified: trunk/channels/chan_skinny.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_skinny.c?view=diff&rev=233089&r1=233088&r2=233089
==============================================================================
--- trunk/channels/chan_skinny.c (original)
+++ trunk/channels/chan_skinny.c Fri Dec  4 10:55:07 2009
@@ -3347,8 +3347,8 @@
 				l->instance,
 				l->label);
 		}
-		AST_LIST_UNLOCK(&lines);
-	}
+	}
+	AST_LIST_UNLOCK(&lines);
 
 	if (total) {
 		*total = total_lines;




More information about the asterisk-commits mailing list