[evolution-data-server] Fixes a memory leak.
- From: Jedy Jedy Wang <jedywang src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Fixes a memory leak.
- Date: Fri, 6 Nov 2009 03:48:57 +0000 (UTC)
commit ec3ef73a935ae5f5c6e96c82349a23109afdc818
Author: Wang Xin <jedy wang sun com>
Date: Fri Nov 6 11:47:20 2009 +0800
Fixes a memory leak.
calendar/backends/caldav/e-cal-backend-caldav.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/calendar/backends/caldav/e-cal-backend-caldav.c b/calendar/backends/caldav/e-cal-backend-caldav.c
index 0fded83..372e7ea 100644
--- a/calendar/backends/caldav/e-cal-backend-caldav.c
+++ b/calendar/backends/caldav/e-cal-backend-caldav.c
@@ -2866,6 +2866,7 @@ remove_cached_attachment (ECalBackendCalDAV *cbdav, const gchar *uid)
priv = E_CAL_BACKEND_CALDAV_GET_PRIVATE (cbdav);
l = e_cal_backend_store_get_components_by_uid (priv->store, uid);
len = g_slist_length (l);
+ g_slist_foreach (l, (GFunc)g_object_unref, NULL);
g_slist_free (l);
if (len > 0)
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]