From: Russell Bryant Date: Tue, 13 Jun 2006 12:40:40 +0000 (+0000) Subject: remove duplicate mutex_unlock X-Git-Tag: 1.2.10~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fb3d5bf315abc895e01144453ef56076a5fef01;p=thirdparty%2Fasterisk.git remove duplicate mutex_unlock git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33813 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- 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);