projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- use RESERVE_CONFIG_BUFFER. For defconfig this gives:
[oweals/busybox.git]
/
networking
/
traceroute.c
diff --git
a/networking/traceroute.c
b/networking/traceroute.c
index e6011cc472f85d52c13d8d09be8f752aadd09a27..22d27f240fc17c53387ac1d91669fa97dfb8c644 100644
(file)
--- a/
networking/traceroute.c
+++ b/
networking/traceroute.c
@@
-902,10
+902,8
@@
gethostinfo(const char *host)
static void
freehostinfo(struct hostinfo *hi)
{
- if (hi->name != NULL) {
- free(hi->name);
- hi->name = NULL;
- }
+ free(hi->name);
+ hi->name = NULL;
free((char *)hi->addrs);
free((char *)hi);
}