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
This commit is contained in:
Joshua Colp
2007-05-26 19:35:33 +00:00
parent 8f783b335d
commit 99eb9421d1

View File

@@ -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;
}