From: Tilghman Lesher Date: Fri, 1 Dec 2006 19:38:59 +0000 (+0000) Subject: Double-unlock error (reported by blitzrage on IRC) X-Git-Tag: 1.4.0-beta4~48 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a78cc926d438aeef70a4b2486a255b6e9958fa67;p=thirdparty%2Fasterisk.git Double-unlock error (reported by blitzrage on IRC) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48179 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/cli.c b/main/cli.c index 3d529cb86f..ac1226732f 100644 --- a/main/cli.c +++ b/main/cli.c @@ -1431,7 +1431,6 @@ static int __ast_cli_register(struct ast_cli_entry *e, struct ast_cli_entry *ed) 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; }