diff options
| author | Sjoerd Simons <sjoerd@luon.net> | 2013-10-25 21:21:07 +0200 |
|---|---|---|
| committer | Sjoerd Simons <sjoerd@luon.net> | 2013-10-25 21:21:07 +0200 |
| commit | e83d1de9b746dbc078ac1cf45f1798e1bc6b7e2f (patch) | |
| tree | c36a40d79a5ae7d2bbca7d240d0a6f664049b435 /src/nm-policy-hosts.c | |
| parent | 26283b4c9e5035574a6c168003e7f1da53a8f32a (diff) | |
| parent | a4256940da049f91bbbea5e53e469a59ea9c10f7 (diff) | |
Merge tag 'upstream/0.9.8.8' into experimental
Upstream version 0.9.8.8
Diffstat (limited to 'src/nm-policy-hosts.c')
| -rw-r--r-- | src/nm-policy-hosts.c | 2 |
1 files changed, 2 insertions, 0 deletions
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"); |