[asterisk-commits] tilghman: branch 1.4 r48179 - /branches/1.4/main/cli.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Dec 1 12:39:00 MST 2006


Author: tilghman
Date: Fri Dec  1 13:38:59 2006
New Revision: 48179

URL: http://svn.digium.com/view/asterisk?view=rev&rev=48179
Log:
Double-unlock error (reported by blitzrage on IRC)

Modified:
    branches/1.4/main/cli.c

Modified: branches/1.4/main/cli.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/cli.c?view=diff&rev=48179&r1=48178&r2=48179
==============================================================================
--- branches/1.4/main/cli.c (original)
+++ branches/1.4/main/cli.c Fri Dec  1 13:38:59 2006
@@ -1431,7 +1431,6 @@
 	AST_LIST_LOCK(&helpers);
 	
 	if (find_cli(e->cmda, 1)) {
-		AST_LIST_UNLOCK(&helpers);
 		ast_log(LOG_WARNING, "Command '%s' already registered (or something close enough)\n", fulle);
 		goto done;
 	}



More information about the asterisk-commits mailing list