[svn-commits] oej: trunk r63730 - /trunk/apps/app_minivm.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Thu May 10 08:19:58 MST 2007


Author: oej
Date: Thu May 10 10:19:57 2007
New Revision: 63730

URL: http://svn.digium.com/view/asterisk?view=rev&rev=63730
Log:
Fixing reload. Thanks to Mats Karlsson!

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=63730&r1=63729&r2=63730
==============================================================================
--- trunk/apps/app_minivm.c (original)
+++ trunk/apps/app_minivm.c Thu May 10 10:19:57 2007
@@ -2283,6 +2283,9 @@
 static void timezone_destroy_list(void)
 {
 	struct minivm_zone *this;
+
+	if (AST_LIST_EMPTY(&minivm_zones))
+		return;
 	AST_LIST_LOCK(&minivm_zones);
 	while ((this = AST_LIST_REMOVE_HEAD(&minivm_zones, list))) 
 		free(this);



More information about the svn-commits mailing list