summaryrefslogtreecommitdiff
path: root/libnm-util/nm-setting-ip6-config.c
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2013-03-26 17:46:49 -0500
committerDan Williams <dcbw@redhat.com>2013-04-01 17:18:53 -0500
commitfaf376dad14f6fff6b5be8d67173e9fb8a922220 (patch)
tree7d3d7dbd2da5a716ba4bcf17dda379b514f75b87 /libnm-util/nm-setting-ip6-config.c
parentb1fc88154b9ccc16205a5279f8eb9789f2f9d902 (diff)
downloadNetworkManager-faf376dad14f6fff6b5be8d67173e9fb8a922220.tar.gz
libnm-util: fix memory leaks of dhcp_hostname and dhcp_client_id
Diffstat (limited to 'libnm-util/nm-setting-ip6-config.c')
-rw-r--r--libnm-util/nm-setting-ip6-config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libnm-util/nm-setting-ip6-config.c b/libnm-util/nm-setting-ip6-config.c
index 11eb15cec6..5768fa5929 100644
--- a/libnm-util/nm-setting-ip6-config.c
+++ b/libnm-util/nm-setting-ip6-config.c
@@ -756,6 +756,8 @@ finalize (GObject *object)
NMSettingIP6ConfigPrivate *priv = NM_SETTING_IP6_CONFIG_GET_PRIVATE (object);
g_free (priv->method);
+ g_free (priv->dhcp_hostname);
+
g_slist_free (priv->dns);
nm_utils_slist_free (priv->dns_search, g_free);