libnm: fix leaking checkpoints from NMManager

Fixes: c3efedf54b
(cherry picked from commit 10600bdb69)
This commit is contained in:
Thomas Haller 2019-02-19 09:16:06 +01:00
parent 38890376fb
commit 4c694e46ea

View file

@ -1730,6 +1730,8 @@ dispose (GObject *object)
priv->all_devices = NULL;
}
nm_clear_pointer (&priv->checkpoints, g_ptr_array_unref);
free_active_connections (manager);
g_clear_object (&priv->primary_connection);
g_clear_object (&priv->activating_connection);