[evolution-ews] Fix double-free on calendar connection error



commit d5afa18d82e36e0b47067a033c031b05f942b4a7
Author: David Woodhouse <David Woodhouse intel com>
Date:   Fri May 6 23:53:48 2011 +0100

    Fix double-free on calendar connection error

 src/calendar/e-cal-backend-ews.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/calendar/e-cal-backend-ews.c b/src/calendar/e-cal-backend-ews.c
index c69f4c5..837d337 100644
--- a/src/calendar/e-cal-backend-ews.c
+++ b/src/calendar/e-cal-backend-ews.c
@@ -1733,7 +1733,7 @@ ews_cal_sync_items_ready_cb (GObject *obj, GAsyncResult *res, gpointer user_data
 					       EDC_ERROR(AuthenticationFailed));
 		} else {
 			e_data_cal_notify_open(priv->opening_cal, priv->opening_ctx,
-					       error);
+					       g_error_copy (error));
 		}
 		priv->opening_ctx = NULL;
 		priv->opening_cal = NULL;



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