mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-07 03:10:16 +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')
This commit is contained in:
parent
85c6ab97ef
commit
6813a4fe75
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue