bluez: fix leak of private data "conn_data_elems" in NMBluezManager

Found by valgrind.

Fixes: 4154d9618c ('bluetooth: refactor BlueZ handling and let NMBluezManager cache ObjectManager data')
This commit is contained in:
Thomas Haller 2021-06-10 01:48:21 +02:00
parent 85c6ab97ef
commit 6813a4fe75
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -2881,6 +2881,8 @@ dispose(GObject *object)
g_clear_object(&priv->dbus_connection);
nm_clear_pointer(&priv->bzobjs, g_hash_table_destroy);
nm_clear_pointer(&priv->conn_data_heads, g_hash_table_destroy);
nm_clear_pointer(&priv->conn_data_elems, g_hash_table_destroy);
}
static void