From: Joshua Colp Date: Sat, 26 May 2007 19:35:33 +0000 (+0000) Subject: Unlock the minivmlock when no configuration is found. (issue #9814 reported by eliel) X-Git-Tag: 1.6.0-beta1~3^2~2568 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99eb9421d12685f0c5244af9d5425eee71bab99c;p=thirdparty%2Fasterisk.git Unlock the minivmlock when no configuration is found. (issue #9814 reported by eliel) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66225 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_minivm.c b/apps/app_minivm.c index cbb7a750fb..d65a8d60fb 100644 --- a/apps/app_minivm.c +++ b/apps/app_minivm.c @@ -2515,6 +2515,7 @@ static int load_config(void) /* Make sure we could load configuration file */ if (!cfg) { ast_log(LOG_WARNING, "Failed to load configuration file. Module activated with default settings.\n"); + ast_mutex_unlock(&minivmlock); return 0; }