diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-01 19:38:59 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-01 19:38:59 +0000 |
commit | d539858da21433fddaf3e5d75fa5260af2d04903 (patch) | |
tree | 4aed95ad969a7e4518fc5e6b8478dc14abc5050e /main/cli.c | |
parent | 6f8babe41a8e997f0fd87d00f825eb1ac3047d8d (diff) |
Double-unlock error (reported by blitzrage on IRC)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48179 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/cli.c')
-rw-r--r-- | main/cli.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/main/cli.c b/main/cli.c index 3d529cb86..ac1226732 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; } |