diff options
author | Ted Gould <ted@canonical.com> | 2009-04-13 10:09:20 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-04-13 10:09:20 -0500 |
commit | f0fa474c673c0af91bc3d08f881ab9040ff72d45 (patch) | |
tree | 46d1fc173a1c4305ebfef825160c6d4980942aa7 | |
parent | a09510f6cb416fed7e98ce7df61d74f56d7a1bff (diff) | |
download | libayatana-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.
-rw-r--r-- | libindicate/indicator.c | 1 | ||||
-rw-r--r-- | libindicate/listener.c | 1 | ||||
-rw-r--r-- | libindicate/server.c | 2 |
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; } |