Commit 764ad1b1 authored by Thomas Haller's avatar Thomas Haller

device/wireguard: fix memleak for NMDeviceWireGuard

Fixes: 2148d094 ('core/wireguard: add support for WireGuard peers')
(cherry picked from commit 56d748eb)
(cherry picked from commit 5a1818b6)
parent 400293d3
Pipeline #34829 passed with stage
in 29 minutes and 31 seconds
......@@ -1589,6 +1589,8 @@ finalize (GObject *object)
g_object_unref (priv->dns_manager);
}
g_hash_table_destroy (priv->peers);
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