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:
24452e1
)
config: remove spurious free() call
author
Steven Barth
<steven@midlink.org>
Thu, 25 Sep 2014 11:52:41 +0000
(13:52 +0200)
committer
Steven Barth
<steven@midlink.org>
Thu, 25 Sep 2014 11:52:41 +0000
(13:52 +0200)
src/config.c
patch
|
blob
|
history
diff --git
a/src/config.c
b/src/config.c
index
835db13
..
2c0bc90
100644
(file)
--- a/
src/config.c
+++ b/
src/config.c
@@
-480,7
+480,6
@@
int config_parse_interface(void *data, size_t len, const char *name, bool overwr
domain[domainlen - 1] = 0;
int len = dn_comp(domain, buf, sizeof(buf), NULL, NULL);
domain[domainlen - 1] = 0;
int len = dn_comp(domain, buf, sizeof(buf), NULL, NULL);
- free(domain);
if (len <= 0)
goto err;
if (len <= 0)
goto err;