libnm-core: do not leak the path in connections

This commit is contained in:
Jiří Klimeš 2014-10-22 16:36:46 +02:00
parent 6354a0e450
commit 7dfb842873

View file

@ -1924,6 +1924,7 @@ nm_connection_private_free (NMConnectionPrivate *priv)
g_hash_table_foreach_remove (priv->settings, _setting_release, self);
g_hash_table_destroy (priv->settings);
g_free (priv->path);
g_slice_free (NMConnectionPrivate, priv);
}