aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/itip-utils.c6
2 files changed, 10 insertions, 3 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 75c9143ca0..feda5578cf 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,10 @@
+2008-08-08 Milan Crha <mcrha@redhat.com>
+
+ ** Fix for bug #544117
+
+ * gui/itip-utils.c: (itip_send_comp): Initialize variables to NULL,
+ to not free uninitialized memory in the cleanup part on the error.
+
2008-08-06 Milan Crha <mcrha@redhat.com>
** Fix for bug #249844
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index c60b7d3dc1..616e1edbe7 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -1142,9 +1142,9 @@ itip_send_comp (ECalComponentItipMethod method, ECalComponent *send_comp,
ECalComponent *comp = NULL;
icalcomponent *top_level = NULL;
char *ical_string = NULL;
- gchar *from;
- gchar *content_type;
- gchar *subject;
+ gchar *from = NULL;
+ gchar *content_type = NULL;
+ gchar *subject = NULL;
gboolean retval = FALSE;
/* check whether backend could handle sending requests/updates */