[svn-commits] mnicholson: branch group/newcdr r202488 - /team/group/newcdr/main/cel.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Jun 22 12:07:04 CDT 2009


Author: mnicholson
Date: Mon Jun 22 12:07:00 2009
New Revision: 202488

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=202488
Log:
Properly unlock reload_lock when reporting CEL events.

Modified:
    team/group/newcdr/main/cel.c

Modified: team/group/newcdr/main/cel.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/group/newcdr/main/cel.c?view=diff&rev=202488&r1=202487&r2=202488
==============================================================================
--- team/group/newcdr/main/cel.c (original)
+++ team/group/newcdr/main/cel.c Mon Jun 22 12:07:00 2009
@@ -488,6 +488,7 @@
 	if (event_type == AST_CEL_APP_START || event_type == AST_CEL_APP_END) {
 		char *app;
 		if (!(app = ao2_find(appset, (char *) chan->appl, OBJ_POINTER))) {
+			ast_mutex_unlock(&reload_lock);
 			return;
 		}
 		ao2_ref(app, -1);




More information about the svn-commits mailing list