mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-28 11:00:49 +01:00
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') (cherry picked from commit6813a4fe75) (cherry picked from commita25c577556)
This commit is contained in:
parent
62d9c702b2
commit
1b97be1f34
1 changed files with 2 additions and 0 deletions
|
|
@ -2879,6 +2879,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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue