[systemd-commits] src/resolve
Kay Sievers
kay at kemper.freedesktop.org
Wed Jul 16 14:51:43 PDT 2014
src/resolve/resolved-link.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e1bbf3d12f28b8e3d4394f2b257e1b7aea3d10fc
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Jul 16 23:50:45 2014 +0200
resolved: do not free() sd_dhcp_lease_get_dns() results
diff --git a/src/resolve/resolved-link.c b/src/resolve/resolved-link.c
index 27477de..9c886a2 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;
More information about the systemd-commits
mailing list