From: Tilghman Lesher Date: Fri, 1 Dec 2006 19:41:02 +0000 (+0000) Subject: Merged revisions 48179 via svnmerge from X-Git-Tag: 1.6.0-beta1~3^2~3813 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b2aebad4a0fa6f64ed849b8070c5b6aa21e6210;p=thirdparty%2Fasterisk.git Merged revisions 48179 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r48179 | tilghman | 2006-12-01 13:38:59 -0600 (Fri, 01 Dec 2006) | 2 lines Double-unlock error (reported by blitzrage on IRC) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48180 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/cli.c b/main/cli.c index 09f848cdba..ae0eaac3d2 100644 --- a/main/cli.c +++ b/main/cli.c @@ -1288,7 +1288,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", e->_full_cmd); free(e->_full_cmd); e->_full_cmd = NULL;