diff options
author | Kay Sievers <kay@vrfy.org> | 2014-07-16 23:50:45 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2014-07-16 23:50:45 +0200 |
commit | e1bbf3d12f28b8e3d4394f2b257e1b7aea3d10fc (patch) | |
tree | f91f362ecd5e72b42b88447f0db432ec601a5bd0 /src/resolve/resolved-link.c | |
parent | 02bc213d0431072a75105162412303359ce3d2c7 (diff) |
resolved: do not free() sd_dhcp_lease_get_dns() results
Diffstat (limited to 'src/resolve/resolved-link.c')
-rw-r--r-- | src/resolve/resolved-link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-link.c b/src/resolve/resolved-link.c index 27477de7b5..9c886a26b5 100644 --- a/src/resolve/resolved-link.c +++ b/src/resolve/resolved-link.c @@ -96,7 +96,7 @@ int link_update_rtnl(Link *l, sd_rtnl_message *m) { static int update_dhcp_dns_servers(Link *l) { _cleanup_dhcp_lease_unref_ sd_dhcp_lease *lease = NULL; - _cleanup_free_ struct in_addr *nameservers = NULL; + struct in_addr *nameservers = NULL; DnsServer *s, *nx; unsigned i; size_t n; |