evolution-data-server r8431 - in trunk/calendar: . libecal



Author: msuman
Date: Mon Jan 28 04:55:32 2008
New Revision: 8431
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8431&view=rev

Log:
Patch from Chenthill Palanisamy  <pchenthill novell com> ** Fixes bug #335217 (Don't refer to freed memory)

Modified:
   trunk/calendar/ChangeLog
   trunk/calendar/libecal/e-cal.c

Modified: trunk/calendar/libecal/e-cal.c
==============================================================================
--- trunk/calendar/libecal/e-cal.c	(original)
+++ trunk/calendar/libecal/e-cal.c	Mon Jan 28 04:55:32 2008
@@ -1778,7 +1778,6 @@
 typedef struct {
 	ECal *ecal;
 	gboolean exists;
-	gboolean result;
 	ECalendarStatus status;
 	const char *auth_prompt;
 	const char *auth_key;
@@ -1804,10 +1803,10 @@
 {
 	ECalAsyncData *ccad = data;
 
-	ccad->result = open_calendar (ccad->ecal, ccad->exists, NULL, &ccad->status, FALSE);
+	open_calendar (ccad->ecal, ccad->exists, NULL, &ccad->status, FALSE);
 	g_idle_add ((GSourceFunc) async_signal_idle_cb, ccad);
 
-	return GINT_TO_POINTER (ccad->result);
+	return NULL;
 }
 
 /**



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