summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2015-05-11 21:49:13 +0200
committerSteven Barth <steven@midlink.org>2015-05-11 21:49:13 +0200
commit681ba23d0b3678a9a0c90ef938cd1d48f2ee6046 (patch)
tree90bd2c8c84193d6b82d1eb686921e26e4096c70d /src
parent4fda796497a0d7814cfe100a1b0f09955f9b24ce (diff)
dhcpv4: remove invalid free()
Signed-off-by: Steven Barth <steven@midlink.org>
Diffstat (limited to 'src')
-rw-r--r--src/dhcpv4.c1
1 files changed, 0 insertions, 1 deletions
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);
}