Unlock the minivmlock when no configuration is found. (issue #9814 reported by eliel)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@66225 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
da49ba8f0e
commit
29fa83aa3f
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue