[asterisk-commits] file: trunk r66225 - /trunk/apps/app_minivm.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sat May 26 12:35:34 MST 2007


Author: file
Date: Sat May 26 14:35:33 2007
New Revision: 66225

URL: http://svn.digium.com/view/asterisk?view=rev&rev=66225
Log:
Unlock the minivmlock when no configuration is found. (issue #9814 reported by eliel)

Modified:
    trunk/apps/app_minivm.c

Modified: trunk/apps/app_minivm.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_minivm.c?view=diff&rev=66225&r1=66224&r2=66225
==============================================================================
--- trunk/apps/app_minivm.c (original)
+++ trunk/apps/app_minivm.c Sat May 26 14:35:33 2007
@@ -2515,6 +2515,7 @@
 	/* 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;
 	}
 



More information about the asterisk-commits mailing list