From 5955f82f01f2da4b0107be6bc4f7c65d26d77b24 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Thu, 9 Apr 2015 09:27:50 -0500 Subject: [PATCH] rdisc: add missing chain up to parent finalize/dispose --- src/rdisc/nm-lndp-rdisc.c | 2 ++ src/rdisc/nm-rdisc.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/rdisc/nm-lndp-rdisc.c b/src/rdisc/nm-lndp-rdisc.c index 922cb3dd76..28fef1fd81 100644 --- a/src/rdisc/nm-lndp-rdisc.c +++ b/src/rdisc/nm-lndp-rdisc.c @@ -724,6 +724,8 @@ dispose (GObject *object) ndp_close (priv->ndp); priv->ndp = NULL; } + + G_OBJECT_CLASS (nm_lndp_rdisc_parent_class)->dispose (object); } static void diff --git a/src/rdisc/nm-rdisc.c b/src/rdisc/nm-rdisc.c index 8729fa63df..dd19eed557 100644 --- a/src/rdisc/nm-rdisc.c +++ b/src/rdisc/nm-rdisc.c @@ -169,6 +169,8 @@ nm_rdisc_finalize (GObject *object) g_array_unref (rdisc->routes); g_array_unref (rdisc->dns_servers); g_array_unref (rdisc->dns_domains); + + G_OBJECT_CLASS (nm_rdisc_parent_class)->finalize (object); } static void