[evolution-data-server] ECalComponent: Recurrence ID not rescan properly



commit 3a393a3e9cd28893091e3b5a9bfdb4984bbe573f
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 bb9931f..179882e 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]