[evolution-data-server/evolution-data-server-3-12] ECalComponent: Recurrence ID not rescan properly
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/evolution-data-server-3-12] ECalComponent: Recurrence ID not rescan properly
- Date: Tue, 18 Nov 2014 09:02:48 +0000 (UTC)
commit 2a9eb9cdc1addfd67ddb3e0b3b79a7a173845a89
Author: Milan Crha <mcrha redhat com>
Date: Tue Nov 18 09:58:29 2014 +0100
ECalComponent: Recurrence ID not rescan properly
The e_cal_component_rescan() didn't update the recur_id private member
when the modified component didn't have it, it was left with the old
property instance set, which resulted in an incorrect return value
from the e_cal_component_is_instance().
calendar/libecal/e-cal-component.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/calendar/libecal/e-cal-component.c b/calendar/libecal/e-cal-component.c
index 2480cad..38fe96f 100644
--- a/calendar/libecal/e-cal-component.c
+++ b/calendar/libecal/e-cal-component.c
@@ -271,6 +271,7 @@ free_icalcomponent (ECalComponent *comp,
/* Free the mappings */
priv->uid = NULL;
+ priv->recur_id.recur_time.prop = NULL;
priv->status = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]