[asterisk-commits] branch 1.2 r33813 - /branches/1.2/pbx.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Jun 13 05:40:41 MST 2006


Author: russell
Date: Tue Jun 13 07:40:40 2006
New Revision: 33813

URL: http://svn.digium.com/view/asterisk?rev=33813&view=rev
Log:
remove duplicate mutex_unlock

Modified:
    branches/1.2/pbx.c

Modified: branches/1.2/pbx.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/pbx.c?rev=33813&r1=33812&r2=33813&view=diff
==============================================================================
--- branches/1.2/pbx.c (original)
+++ branches/1.2/pbx.c Tue Jun 13 07:40:40 2006
@@ -3652,7 +3652,6 @@
 	tmp = *local_contexts;
 	while(tmp) {
 		if (!strcasecmp(tmp->name, name)) {
-			ast_mutex_unlock(&conlock);
 			ast_log(LOG_WARNING, "Tried to register context '%s', already in use\n", name);
 			if (!extcontexts)
 				ast_mutex_unlock(&conlock);



More information about the asterisk-commits mailing list