Avoid passing NULL to freehostent(3).

MFC after:	1 week
This commit is contained in:
Yaroslav Tykhiy 2002-07-17 19:29:25 +00:00
parent 2d014fd7f8
commit 233c0f6643

View File

@ -829,7 +829,8 @@ inithosts(void)
lhrp->next = hrp;
lhrp = hrp;
}
freehostent(hp);
if (hp)
freehostent(hp);
}
nextline:
if (mp)