diff --git a/mozilla/network/main/win-dns.cpp b/mozilla/network/main/win-dns.cpp index 6f52ffe9ffd..7921b9a69b0 100644 --- a/mozilla/network/main/win-dns.cpp +++ b/mozilla/network/main/win-dns.cpp @@ -106,6 +106,9 @@ DNSCacheEntry::Init(void* aContext, const char* aHost, PRFileDesc* fd) if ((NULL == mHost) || (NULL == mHostEnt) || (NULL == mSockets)) { return NS_ERROR_FAILURE; } + mHostEnt->h_name = NULL; + mHostEnt->h_aliases = NULL; + mHostEnt->h_addr_list = NULL; return NS_OK; }