From d3e776b0e25c2895167b71df61622b9ccad16fdd Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Mon, 22 Feb 2016 15:32:30 +0100 Subject: [PATCH] ifcfg-rh: fix leaking unmanaged_spec/unhandled_spec in NMIfcfgConnection --- src/settings/plugins/ifcfg-rh/nm-ifcfg-connection.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/settings/plugins/ifcfg-rh/nm-ifcfg-connection.c b/src/settings/plugins/ifcfg-rh/nm-ifcfg-connection.c index c524e0f9c8..2ee5a0b9d8 100644 --- a/src/settings/plugins/ifcfg-rh/nm-ifcfg-connection.c +++ b/src/settings/plugins/ifcfg-rh/nm-ifcfg-connection.c @@ -516,6 +516,9 @@ dispose (GObject *object) g_clear_object (&priv->inotify_helper); + g_clear_pointer (&priv->unmanaged_spec, g_free); + g_clear_pointer (&priv->unrecognized_spec, g_free); + G_OBJECT_CLASS (nm_ifcfg_connection_parent_class)->dispose (object); }