diff options
author | Terry Wilson <twilson@digium.com> | 2011-10-30 02:31:02 +0000 |
---|---|---|
committer | Terry Wilson <twilson@digium.com> | 2011-10-30 02:31:02 +0000 |
commit | 4b826c46b320cb0002083fc81c158286df1a0f35 (patch) | |
tree | 0f34db777824f8e213e1fca86e8356c3fb5b40c2 /res/res_calendar.c | |
parent | 85dbd68f87e8dc78a62b11e5095ca962255a0164 (diff) |
Don't crash on empty notify channel
........
Merged revisions 342715 from http://svn.asterisk.org/svn/asterisk/branches/10
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@342716 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_calendar.c')
-rw-r--r-- | res/res_calendar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_calendar.c b/res/res_calendar.c index b77553781..604d0b5c4 100644 --- a/res/res_calendar.c +++ b/res/res_calendar.c @@ -694,7 +694,7 @@ static void *do_notify(void *data) { 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; |