[evolution-data-server] Bug 793673 - Crash on failure of e_cal_cache_search_ids()



commit a9eb4316d9230d6cb47ca8e1d47460d148860bb7
Author: Milan Crha <mcrha redhat com>
Date:   Wed Feb 21 19:15:43 2018 +0100

    Bug 793673 - Crash on failure of e_cal_cache_search_ids()

 src/calendar/libedata-cal/e-cal-cache.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/calendar/libedata-cal/e-cal-cache.c b/src/calendar/libedata-cal/e-cal-cache.c
index f79d5ce..324813c 100644
--- a/src/calendar/libedata-cal/e-cal-cache.c
+++ b/src/calendar/libedata-cal/e-cal-cache.c
@@ -2872,7 +2872,7 @@ e_cal_cache_search_ids (ECalCache *cal_cache,
        if (success) {
                *out_ids = g_slist_reverse (*out_ids);
        } else {
-               g_slist_free_full (*out_ids, g_object_unref);
+               g_slist_free_full (*out_ids, (GDestroyNotify) e_cal_component_free_id);
                *out_ids = NULL;
        }
 


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