[evolution-data-server] EDataCalView: Unreference the EGdbusCalView in dispose().



commit e50e91b6352d14dd2f42b3316aaffe429298cbda
Author: Matthew Barnes <mbarnes redhat com>
Date:   Tue Mar 26 13:46:39 2013 -0400

    EDataCalView: Unreference the EGdbusCalView in dispose().
    
    Recent reference counting fixes uncovered this.  We must have been
    leaking EDataCalView references for this to not have been an issue
    until now.

 calendar/libedata-cal/e-data-cal-view.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/calendar/libedata-cal/e-data-cal-view.c b/calendar/libedata-cal/e-data-cal-view.c
index ea9f129..5c710b7 100644
--- a/calendar/libedata-cal/e-data-cal-view.c
+++ b/calendar/libedata-cal/e-data-cal-view.c
@@ -419,6 +419,7 @@ data_cal_view_dispose (GObject *object)
        priv = E_DATA_CAL_VIEW_GET_PRIVATE (object);
 
        g_clear_object (&priv->connection);
+       g_clear_object (&priv->gdbus_object);
        g_clear_object (&priv->backend);
        g_clear_object (&priv->sexp);
 


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