From: Russell Bryant Date: Tue, 13 Jun 2006 12:41:37 +0000 (+0000) Subject: Merged revisions 33813 via svnmerge from X-Git-Tag: 1.4.0-beta1~911 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcb9f8687c5befe050c76eb01e9f3f6ef381336a;p=thirdparty%2Fasterisk.git Merged revisions 33813 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r33813 | russell | 2006-06-13 08:40:40 -0400 (Tue, 13 Jun 2006) | 2 lines remove duplicate mutex_unlock ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33814 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/pbx.c b/pbx.c index 620b7dc384..2b4ceea1e8 100644 --- a/pbx.c +++ b/pbx.c @@ -3426,7 +3426,6 @@ struct ast_context *ast_context_create(struct ast_context **extcontexts, const c for (tmp = *local_contexts; tmp; tmp = tmp->next) { 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);