From a4256940da049f91bbbea5e53e469a59ea9c10f7 Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Fri, 25 Oct 2013 21:20:58 +0200 Subject: Imported Upstream version 0.9.8.8 --- src/nm-policy-hosts.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/nm-policy-hosts.c') diff --git a/src/nm-policy-hosts.c b/src/nm-policy-hosts.c index 94eeac4f..3f3fb35c 100644 --- a/src/nm-policy-hosts.c +++ b/src/nm-policy-hosts.c @@ -75,6 +75,8 @@ nm_policy_hosts_clean_etc_hosts (void) } new = nm_policy_get_etc_hosts (contents, contents_len); + g_free (contents); + if (new && new->len) { nm_log_dbg (LOGD_DNS, "Cleaning leftovers from /etc/hosts"); -- cgit 1.3.0-6-gf8a5