mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
Fix negative leak stats regression from bug 302724.
This commit is contained in:
parent
f8acb59a06
commit
19e6e1862a
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user