From 4fb3d5bf315abc895e01144453ef56076a5fef01 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Tue, 13 Jun 2006 12:40:40 +0000 Subject: [PATCH] remove duplicate mutex_unlock git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33813 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- pbx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/pbx.c b/pbx.c index 4f71fc5c15..c45ec8e3b9 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);