projects
/
project
/
odhcpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fda796
)
dhcpv4: remove invalid free()
author
Steven Barth
<steven@midlink.org>
Mon, 11 May 2015 19:49:13 +0000
(21:49 +0200)
committer
Steven Barth
<steven@midlink.org>
Mon, 11 May 2015 19:49:13 +0000
(21:49 +0200)
Signed-off-by: Steven Barth <steven@midlink.org>
src/dhcpv4.c
patch
|
blob
|
history
diff --git
a/src/dhcpv4.c
b/src/dhcpv4.c
index 647cdc0f53d49476fe81b06108c5c6789b9c652d..a657e13d325f9e4de34a8ec0e5c904d44967274d 100644
(file)
--- 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);
}