summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2013-10-18 17:55:52 +0200
committerThomas Haller <thaller@redhat.com>2013-10-22 19:22:59 +0200
commit94bcecdb1461ef9fa1200371b1f2da02bcc461a0 (patch)
treeb53ce67a8404ba0f8bb3e4b338e74c2157ae83c7
parentc38be4ef4b8cd0dc04c789a044383efdbd8aad0a (diff)
downloadNetworkManager-94bcecdb1461ef9fa1200371b1f2da02bcc461a0.tar.gz
keyfile: always chain-up parent constructor in keyfile dispose method
Signed-off-by: Thomas Haller <thaller@redhat.com>
-rw-r--r--src/settings/plugins/keyfile/plugin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/settings/plugins/keyfile/plugin.c b/src/settings/plugins/keyfile/plugin.c
index e9041bf6a1..97d93a0bef 100644
--- a/src/settings/plugins/keyfile/plugin.c
+++ b/src/settings/plugins/keyfile/plugin.c
@@ -638,7 +638,7 @@ dispose (GObject *object)
SCPluginKeyfilePrivate *priv = SC_PLUGIN_KEYFILE_GET_PRIVATE (object);
if (priv->disposed)
- return;
+ goto out;
priv->disposed = TRUE;
@@ -665,6 +665,7 @@ dispose (GObject *object)
priv->connections = NULL;
}
+out:
G_OBJECT_CLASS (sc_plugin_keyfile_parent_class)->dispose (object);
}