aboutsummaryrefslogtreecommitdiff
path: root/libindicate
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-04-13 10:09:20 -0500
committerTed Gould <ted@canonical.com>2009-04-13 10:09:20 -0500
commitf0fa474c673c0af91bc3d08f881ab9040ff72d45 (patch)
tree46d1fc173a1c4305ebfef825160c6d4980942aa7 /libindicate
parenta09510f6cb416fed7e98ce7df61d74f56d7a1bff (diff)
downloadlibayatana-indicator-f0fa474c673c0af91bc3d08f881ab9040ff72d45.tar.gz
libayatana-indicator-f0fa474c673c0af91bc3d08f881ab9040ff72d45.tar.bz2
libayatana-indicator-f0fa474c673c0af91bc3d08f881ab9040ff72d45.zip
Adding in call to the parent class' finalize function as well, this should free all the way up to the top.
Diffstat (limited to 'libindicate')
-rw-r--r--libindicate/indicator.c1
-rw-r--r--libindicate/listener.c1
-rw-r--r--libindicate/server.c2
3 files changed, 4 insertions, 0 deletions
diff --git a/libindicate/indicator.c b/libindicate/indicator.c
index 7e0c986..dfcba67 100644
--- a/libindicate/indicator.c
+++ b/libindicate/indicator.c
@@ -141,6 +141,7 @@ indicate_indicator_finalize (GObject * obj)
g_object_unref(priv->server);
priv->server = NULL;
+ G_OBJECT_CLASS (indicate_indicator_parent_class)->finalize (obj);
return;
}
diff --git a/libindicate/listener.c b/libindicate/listener.c
index 4c754ac..3cc84b6 100644
--- a/libindicate/listener.c
+++ b/libindicate/listener.c
@@ -274,6 +274,7 @@ indicate_listener_finalize (GObject * obj)
{
/* IndicateListener * listener = INDICATE_LISTENER(obj); */
+ G_OBJECT_CLASS (indicate_listener_parent_class)->finalize (obj);
return;
}
diff --git a/libindicate/server.c b/libindicate/server.c
index f2ebdd2..e3d071c 100644
--- a/libindicate/server.c
+++ b/libindicate/server.c
@@ -297,6 +297,8 @@ indicate_server_finalize (GObject * obj)
g_free(priv->type);
}
+ G_OBJECT_CLASS (indicate_server_parent_class)->finalize (obj);
+
return;
}