X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fodhcpd.git;a=blobdiff_plain;f=src%2Fdhcpv4.c;h=a657e13d325f9e4de34a8ec0e5c904d44967274d;hp=647cdc0f53d49476fe81b06108c5c6789b9c652d;hb=d0ca3022a4041e7232587b024ebfaadbe2c095cc;hpb=a06dd6481cd046e4856774ac32cdc11f4bc721e2 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); }