aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/gui/itip-utils.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index 9a126446ea..57212106c6 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -251,7 +251,10 @@ itip_send_comp (CalComponentItipMethod method, CalComponent *comp)
bcc_list->_maximum = bcc_list->_length = 0;
cal_component_get_summary (comp, &caltext);
- subject = CORBA_string_dup (caltext.value);
+ if (caltext.value != NULL)
+ subject = CORBA_string_dup (caltext.value);
+ else
+ subject = CORBA_string_dup ("");
GNOME_Evolution_Composer_setHeaders (composer_server, to_list, cc_list, bcc_list, subject, &ev);
if (ev._major != CORBA_NO_EXCEPTION) {