Commit 56d748eb authored by Thomas Haller's avatar Thomas Haller

device/wireguard: fix memleak for NMDeviceWireGuard

Fixes: 2148d094 ('core/wireguard: add support for WireGuard peers')
parent d5a2b709
Pipeline #34827 passed with stages
in 38 minutes and 43 seconds
...@@ -1589,6 +1589,8 @@ finalize (GObject *object) ...@@ -1589,6 +1589,8 @@ finalize (GObject *object)
g_object_unref (priv->dns_manager); g_object_unref (priv->dns_manager);
} }
g_hash_table_destroy (priv->peers);
G_OBJECT_CLASS (nm_device_wireguard_parent_class)->finalize (object); G_OBJECT_CLASS (nm_device_wireguard_parent_class)->finalize (object);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment