mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
remove duplicate mutex_unlock
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33813 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
1
pbx.c
1
pbx.c
@@ -3652,7 +3652,6 @@ struct ast_context *ast_context_create(struct ast_context **extcontexts, const c
|
||||
tmp = *local_contexts;
|
||||
while(tmp) {
|
||||
if (!strcasecmp(tmp->name, name)) {
|
||||
ast_mutex_unlock(&conlock);
|
||||
ast_log(LOG_WARNING, "Tried to register context '%s', already in use\n", name);
|
||||
if (!extcontexts)
|
||||
ast_mutex_unlock(&conlock);
|
||||
|
Reference in New Issue
Block a user