diff options
author | Thomas Haller <thaller@redhat.com> | 2015-05-13 15:55:49 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-05-13 16:07:35 +0200 |
commit | c40e32c275f933b19f43f9a3fdffa009191b65b0 (patch) | |
tree | bd3444ac0d197dc87aa4cf93a28e11bbbb1adb8d | |
parent | c0917a075b8d1aa729aabe51d2138c5a3f719ec5 (diff) | |
download | NetworkManager-c40e32c275f933b19f43f9a3fdffa009191b65b0.tar.gz |
config: fix memleak of keyfile in finalize() of NMConfigData
Fixes: 9809eb4da1b12635d35de2cb6b7094df723ad0dc
-rw-r--r-- | src/nm-config-data.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nm-config-data.c b/src/nm-config-data.c index d2f184eedd..45d90b51d2 100644 --- a/src/nm-config-data.c +++ b/src/nm-config-data.c @@ -301,6 +301,8 @@ finalize (GObject *gobject) g_free (priv->dns_mode); + g_key_file_unref (priv->keyfile); + G_OBJECT_CLASS (nm_config_data_parent_class)->finalize (gobject); } |