From f98bd3a5d58c59d950aa7318e9b708c42d51687f Mon Sep 17 00:00:00 2001 From: Timo Dritschler Date: Fri, 21 Nov 2014 14:33:12 +0100 Subject: Fix #7: Added missing call to parent finalize --- src/kiro-client.c | 1 + src/kiro-server.c | 2 ++ src/kiro-trb.c | 2 ++ 3 files changed, 5 insertions(+) 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); } -- cgit v1.2.3