[svn-commits] oej: branch oej/minivoicemail r58470 - /team/oej/minivoicemail/apps/app_minivm.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Thu Mar 8 12:22:53 MST 2007


Author: oej
Date: Thu Mar  8 13:22:52 2007
New Revision: 58470

URL: http://svn.digium.com/view/asterisk?view=rev&rev=58470
Log:
Yeah, yeah, yeah. Compile before commit. 

Modified:
    team/oej/minivoicemail/apps/app_minivm.c

Modified: team/oej/minivoicemail/apps/app_minivm.c
URL: http://svn.digium.com/view/asterisk/team/oej/minivoicemail/apps/app_minivm.c?view=diff&rev=58470&r1=58469&r2=58470
==============================================================================
--- team/oej/minivoicemail/apps/app_minivm.c (original)
+++ team/oej/minivoicemail/apps/app_minivm.c Thu Mar  8 13:22:52 2007
@@ -2448,11 +2448,11 @@
 	AST_LIST_UNLOCK(&minivm_zones);
 
 	/* Free all templates */
-	AST_LIST_LOCK(&minivm_templates);
-	while ((tcur = AST_LIST_REMOVE_HEAD(&minivm_templates, list))) {
+	AST_LIST_LOCK(&message_templates);
+	while ((tcur = AST_LIST_REMOVE_HEAD(&message_templates, list))) {
 		message_template_free(tcur);
 	}
-	AST_LIST_UNLOCK(&minivm_templates);
+	AST_LIST_UNLOCK(&message_templates);
 
 	/* First, set some default settings */
 	global_externnotify[0] = '\0';



More information about the svn-commits mailing list