[evolution-data-server] Fix a memory leak in e_cal_recur_generate_instances_sync()
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Fix a memory leak in e_cal_recur_generate_instances_sync()
- Date: Fri, 28 Jun 2019 07:25:22 +0000 (UTC)
commit bdcaa2ba43a5a1d6c60c45d9848fc54959ec46a3
Author: Milan Crha <mcrha redhat com>
Date: Fri Jun 28 09:26:17 2019 +0200
Fix a memory leak in e_cal_recur_generate_instances_sync()
src/calendar/libecal/e-cal-recur.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/calendar/libecal/e-cal-recur.c b/src/calendar/libecal/e-cal-recur.c
index 3114f3e7b..a36fd1228 100644
--- a/src/calendar/libecal/e-cal-recur.c
+++ b/src/calendar/libecal/e-cal-recur.c
@@ -700,7 +700,7 @@ e_cal_recur_generate_instances_sync (ICalComponent *icalcomp,
for (prop = i_cal_component_get_first_property (icalcomp, I_CAL_EXDATE_PROPERTY);
prop && success;
- prop = i_cal_component_get_next_property (icalcomp, I_CAL_EXDATE_PROPERTY)) {
+ g_object_unref (prop), prop = i_cal_component_get_next_property (icalcomp,
I_CAL_EXDATE_PROPERTY)) {
ICalTime *exdate = i_cal_property_get_exdate (prop);
if (exdate || i_cal_time_is_null_time (exdate)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]