From 681ba23d0b3678a9a0c90ef938cd1d48f2ee6046 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Mon, 11 May 2015 21:49:13 +0200 Subject: dhcpv4: remove invalid free() Signed-off-by: Steven Barth --- src/dhcpv4.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/dhcpv4.c') diff --git a/src/dhcpv4.c b/src/dhcpv4.c index 647cdc0..a657e13 100644 --- a/src/dhcpv4.c +++ b/src/dhcpv4.c @@ -222,7 +222,6 @@ int setup_dhcpv4_interface(struct interface *iface, bool enable) struct dhcpv4_assignment *a = list_first_entry(&iface->dhcpv4_assignments, struct dhcpv4_assignment, head); list_del(&a->head); - free(a->hostname); free(a); } -- cgit v1.2.3