aboutsummaryrefslogtreecommitdiffstats
path: root/pbx.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-13 12:40:40 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-13 12:40:40 +0000
commit625669dc747c8c8bd35fcb455820c09a8715ab8a (patch)
tree0c2c4215a33a2ba04490d4c5dbb2bd80f3bdffb5 /pbx.c
parent1df9181d0beea099f13d44f3603bbcbd51a6b341 (diff)
remove duplicate mutex_unlock
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@33813 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx.c')
-rw-r--r--pbx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pbx.c b/pbx.c
index 4f71fc5c1..c45ec8e3b 100644
--- a/pbx.c
+++ b/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);