diff options
author | Dan Winship <danw@gnome.org> | 2013-05-29 17:15:04 -0300 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2013-10-24 12:25:08 -0400 |
commit | 83c5a69126fe2363bab5c06881d34562b1674bcf (patch) | |
tree | 522460399742037e97f002973484a4b34d126a91 /libnm-util | |
parent | b7e1a39521722c50f6cf83aafe6127b0ffe459f8 (diff) | |
download | NetworkManager-83c5a69126fe2363bab5c06881d34562b1674bcf.tar.gz |
libnm-util: fix a leak in NMSettingIP6Config
Diffstat (limited to 'libnm-util')
-rw-r--r-- | libnm-util/nm-setting-ip6-config.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libnm-util/nm-setting-ip6-config.c b/libnm-util/nm-setting-ip6-config.c index 3ac067046e..21c1cd2b74 100644 --- a/libnm-util/nm-setting-ip6-config.c +++ b/libnm-util/nm-setting-ip6-config.c @@ -770,8 +770,7 @@ finalize (GObject *object) g_free (priv->method); g_free (priv->dhcp_hostname); - g_slist_free (priv->dns); - + g_slist_free_full (priv->dns, g_free); g_slist_free_full (priv->dns_search, g_free); g_slist_free_full (priv->addresses, g_free); g_slist_free_full (priv->routes, g_free); |