[evolution-data-server/gnome-3-16] [CalDAV] Fix a little memory leak
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/gnome-3-16] [CalDAV] Fix a little memory leak
- Date: Tue, 21 Apr 2015 14:26:04 +0000 (UTC)
commit 9c8bd5ef854c1aad2920f7fc74063f4b504e46ee
Author: Milan Crha <mcrha redhat com>
Date: Tue Apr 21 16:21:59 2015 +0200
[CalDAV] Fix a little memory leak
calendar/backends/caldav/e-cal-backend-caldav.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/calendar/backends/caldav/e-cal-backend-caldav.c b/calendar/backends/caldav/e-cal-backend-caldav.c
index 4d8d60a..dcf88bc 100644
--- a/calendar/backends/caldav/e-cal-backend-caldav.c
+++ b/calendar/backends/caldav/e-cal-backend-caldav.c
@@ -5500,6 +5500,11 @@ e_cal_backend_caldav_finalize (GObject *object)
g_free (priv->password);
g_free (priv->schedule_outbox_url);
+ if (priv->ctag_to_store) {
+ g_free (priv->ctag_to_store);
+ priv->ctag_to_store = NULL;
+ }
+
g_clear_error (&priv->bearer_auth_error);
g_mutex_clear (&priv->bearer_auth_error_lock);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]