summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2019-06-28 09:26:17 +0200
committerMilan Crha <mcrha@redhat.com>2019-06-28 09:26:17 +0200
commitbdcaa2ba43a5a1d6c60c45d9848fc54959ec46a3 (patch)
tree3d25695d75b335bff003b8f5f08c9defd73e4547
parent38452d90595d1bd731b074eeaca3c363e16c30d8 (diff)
downloadevolution-data-server-bdcaa2ba43a5a1d6c60c45d9848fc54959ec46a3.tar.gz
Fix a memory leak in e_cal_recur_generate_instances_sync()
-rw-r--r--src/calendar/libecal/e-cal-recur.c2
1 files changed, 1 insertions, 1 deletions
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)) {