[asterisk-commits] tilghman: trunk r130444 - /trunk/channels/chan_agent.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Jul 12 21:34:34 CDT 2008


Author: tilghman
Date: Sat Jul 12 21:34:32 2008
New Revision: 130444

URL: http://svn.digium.com/view/asterisk?view=rev&rev=130444
Log:
Unlock list before returning

Modified:
    trunk/channels/chan_agent.c

Modified: trunk/channels/chan_agent.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_agent.c?view=diff&rev=130444&r1=130443&r2=130444
==============================================================================
--- trunk/channels/chan_agent.c (original)
+++ trunk/channels/chan_agent.c Sat Jul 12 21:34:32 2008
@@ -286,6 +286,7 @@
 	device = ast_event_get_ie_str(event, AST_EVENT_IE_DEVICE);
 
 	if (ast_strlen_zero(device)) {
+		AST_LIST_UNLOCK(&agents);
 		return;
 	}
 




More information about the asterisk-commits mailing list