aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/itip-utils.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-08-08 19:03:11 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-08-08 19:03:11 +0800
commit42983001ea2dade6b3e076e49028f3df7d623ee1 (patch)
tree02309913eb3cd13512141e22f425e98c9d729d94 /calendar/gui/itip-utils.c
parent3017e824e3984644455cb85750a13c97c8a537ea (diff)
downloadgsoc2013-evolution-42983001ea2dade6b3e076e49028f3df7d623ee1.tar.gz
gsoc2013-evolution-42983001ea2dade6b3e076e49028f3df7d623ee1.tar.zst
gsoc2013-evolution-42983001ea2dade6b3e076e49028f3df7d623ee1.zip
** Fix for bug #544117
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. svn path=/trunk/; revision=35935
Diffstat (limited to 'calendar/gui/itip-utils.c')
-rw-r--r--calendar/gui/itip-utils.c6
1 files changed, 3 insertions, 3 deletions
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 */