diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-01 19:41:02 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-01 19:41:02 +0000 |
commit | fb583000baa35420cad7cbe7a616ab108c19ffca (patch) | |
tree | 4d3bb47d032b39931d7c80bae499c23e5904b1cc /main/cli.c | |
parent | a85decf9c34f8ea7ce64c15d8dd550c777ef4bbd (diff) |
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: http://svn.digium.com/svn/asterisk/trunk@48180 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 09f848cdb..ae0eaac3d 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; |