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