Avoid passing NULL to freehostent(3).
MFC after: 1 week
This commit is contained in:
parent
2d014fd7f8
commit
233c0f6643
@ -829,6 +829,7 @@ inithosts(void)
|
||||
lhrp->next = hrp;
|
||||
lhrp = hrp;
|
||||
}
|
||||
if (hp)
|
||||
freehostent(hp);
|
||||
}
|
||||
nextline:
|
||||
|
Loading…
Reference in New Issue
Block a user