evolution r35935 - in trunk/calendar: . gui



Author: mcrha
Date: Fri Aug  8 11:03:11 2008
New Revision: 35935
URL: http://svn.gnome.org/viewvc/evolution?rev=35935&view=rev

Log:
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.



Modified:
   trunk/calendar/ChangeLog
   trunk/calendar/gui/itip-utils.c

Modified: trunk/calendar/gui/itip-utils.c
==============================================================================
--- trunk/calendar/gui/itip-utils.c	(original)
+++ trunk/calendar/gui/itip-utils.c	Fri Aug  8 11:03:11 2008
@@ -1142,9 +1142,9 @@
 	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 */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]