summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimo Dritschler <timo.dritschler@kit.edu>2014-11-21 14:33:12 +0100
committerTimo Dritschler <timo.dritschler@kit.edu>2014-11-21 14:35:46 +0100
commitf98bd3a5d58c59d950aa7318e9b708c42d51687f (patch)
tree0831e1a4a21e6ab40ae9c32305a450cbc05a92c3 /src
parenta0351b722ae0bdbc5ed44eeab21daa230362f6e8 (diff)
downloadkiro-f98bd3a5d58c59d950aa7318e9b708c42d51687f.tar.gz
kiro-f98bd3a5d58c59d950aa7318e9b708c42d51687f.tar.bz2
kiro-f98bd3a5d58c59d950aa7318e9b708c42d51687f.tar.xz
kiro-f98bd3a5d58c59d950aa7318e9b708c42d51687f.zip
Fix #7: Added missing call to parent finalize
Diffstat (limited to 'src')
-rw-r--r--src/kiro-client.c1
-rw-r--r--src/kiro-server.c2
-rw-r--r--src/kiro-trb.c2
3 files changed, 5 insertions, 0 deletions
diff --git a/src/kiro-client.c b/src/kiro-client.c
index 47f0d47..12d4a45 100644
--- a/src/kiro-client.c
+++ b/src/kiro-client.c
@@ -92,6 +92,7 @@ static void
kiro_client_finalize (GObject *object)
{
//PASS
+ G_OBJECT_CLASS (kiro_client_parent_class)->finalize (object);
}
diff --git a/src/kiro-server.c b/src/kiro-server.c
index c544267..b3c8516 100644
--- a/src/kiro-server.c
+++ b/src/kiro-server.c
@@ -99,6 +99,8 @@ kiro_server_finalize (GObject *object)
KiroServer *self = KIRO_SERVER (object);
//Clean up the server
kiro_server_stop (self);
+
+ G_OBJECT_CLASS (kiro_server_parent_class)->finalize (object);
}
diff --git a/src/kiro-trb.c b/src/kiro-trb.c
index e26d12a..6a303d2 100644
--- a/src/kiro-trb.c
+++ b/src/kiro-trb.c
@@ -99,6 +99,8 @@ kiro_trb_finalize (GObject *object)
if (priv->mem)
free (priv->mem);
+
+ G_OBJECT_CLASS (kiro_trb_parent_class)->finalize (object);
}