MFC r300636
Delay calling yp_malloc_dnsent() until after some additional sanity checks to avoid leaking memory on error returns.
Reported by: Coverity CID: 1007416