diff options
author | Milan Crha <mcrha@redhat.com> | 2008-08-08 19:03:11 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2008-08-08 19:03:11 +0800 |
commit | 42983001ea2dade6b3e076e49028f3df7d623ee1 (patch) | |
tree | 02309913eb3cd13512141e22f425e98c9d729d94 | |
parent | 3017e824e3984644455cb85750a13c97c8a537ea (diff) | |
download | gsoc2013-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
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | calendar/gui/itip-utils.c | 6 |
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 */ |