summaryrefslogtreecommitdiff
path: root/libnm/nm-device-vxlan.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-10-12 19:44:32 +0200
committerThomas Haller <thaller@redhat.com>2016-10-24 10:14:02 +0200
commit7eb054d09973d880c8806f69bc49bf39deba1206 (patch)
treeba67066885c1bea2eb9c42b342bb55795087f2cd /libnm/nm-device-vxlan.c
parent16a6991b90de149555dad1bb187282e6bcbdeb9f (diff)
downloadNetworkManager-7eb054d09973d880c8806f69bc49bf39deba1206.tar.gz
libnm: fix memleak in NMDeviceVxlan
Diffstat (limited to 'libnm/nm-device-vxlan.c')
-rw-r--r--libnm/nm-device-vxlan.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libnm/nm-device-vxlan.c b/libnm/nm-device-vxlan.c
index 86b5fca8e7..eaf37cc075 100644
--- a/libnm/nm-device-vxlan.c
+++ b/libnm/nm-device-vxlan.c
@@ -458,6 +458,8 @@ finalize (GObject *object)
g_free (priv->hw_address);
g_clear_object (&priv->parent);
+ g_free (priv->group);
+ g_free (priv->local);
G_OBJECT_CLASS (nm_device_vxlan_parent_class)->finalize (object);
}