[svn-commits] twilson: branch 10 r342715 - /branches/10/res/res_calendar.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sat Oct 29 21:21:24 CDT 2011


Author: twilson
Date: Sat Oct 29 21:21:19 2011
New Revision: 342715

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=342715
Log:
Don't crash on empty notify channel

Modified:
    branches/10/res/res_calendar.c

Modified: branches/10/res/res_calendar.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/res/res_calendar.c?view=diff&rev=342715&r1=342714&r2=342715
==============================================================================
--- branches/10/res/res_calendar.c (original)
+++ branches/10/res/res_calendar.c Sat Oct 29 21:21:19 2011
@@ -694,7 +694,7 @@
 {
 	struct ast_calendar_event *event = data;
 	struct ast_dial *dial = NULL;
-	struct ast_str *apptext = NULL, *tmpstr;
+	struct ast_str *apptext = NULL, *tmpstr = NULL;
 	struct ast_datastore *datastore;
 	enum ast_dial_result res;
 	struct ast_channel *chan = NULL;




More information about the svn-commits mailing list