Fix negative leak stats regression from bug 302724.

This commit is contained in:
dbaron%dbaron.org 2005-11-16 19:35:07 +00:00
parent f8acb59a06
commit 19e6e1862a

View File

@ -171,6 +171,7 @@ nsHostRecord::Create(const nsHostKey *key, nsHostRecord **result)
rec->af = key->af;
rec->_refc = 1; // addref
NS_LOG_ADDREF(rec, 1, "nsHostRecord", sizeof(nsHostRecord));
rec->addr_info = nsnull;
rec->addr = nsnull;
rec->expiration = NowInMinutes();