mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-05 07:40:28 +01:00
keyfile: always chain-up parent constructor in keyfile dispose method
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
c38be4ef4b
commit
94bcecdb14
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue