libnm-core: fix memory leak in nm-setting-ip-tunnel.c

Fixes: ae8c7a8967
This commit is contained in:
Beniamino Galvani 2016-03-09 23:16:20 +01:00
parent 43ddfa398e
commit 551c5de120

View file

@ -544,6 +544,7 @@ finalize (GObject *object)
NMSettingIPTunnel *setting = NM_SETTING_IP_TUNNEL (object);
NMSettingIPTunnelPrivate *priv = NM_SETTING_IP_TUNNEL_GET_PRIVATE (setting);
g_free (priv->parent);
g_free (priv->local);
g_free (priv->remote);
g_free (priv->input_key);