mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 04:40:09 +01:00
libnm: fix memleak for NMDeviceTun:hw-address
Fixes:337304f19d(cherry picked from commit41ea9fffbb) (cherry picked from commit38890376fb)
This commit is contained in:
parent
3fb254fc82
commit
be2da47a9d
1 changed files with 1 additions and 0 deletions
|
|
@ -268,6 +268,7 @@ finalize (GObject *object)
|
|||
NMDeviceTunPrivate *priv = NM_DEVICE_TUN_GET_PRIVATE (object);
|
||||
|
||||
g_free (priv->mode);
|
||||
g_free (priv->hw_address);
|
||||
|
||||
G_OBJECT_CLASS (nm_device_tun_parent_class)->finalize (object);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue