mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 1422173 - Add comment mentioning leaked addr_info r=me
MozReview-Commit-ID: BFztnh9kO5C
This commit is contained in:
parent
95aaaa5773
commit
e7b318dddd
@ -870,6 +870,9 @@ nsHostResolver::ResolveHost(const char *host,
|
||||
// addr_info.
|
||||
MutexAutoLock lock(he->rec->addr_info_lock);
|
||||
|
||||
// XXX: note that this actually leaks addr_info.
|
||||
// For some reason, freeing the memory causes a crash in
|
||||
// nsDNSRecord::GetNextAddr - see bug 1422173
|
||||
he->rec->addr_info = nullptr;
|
||||
if (unspecHe->rec->negative) {
|
||||
he->rec->negative = unspecHe->rec->negative;
|
||||
|
Loading…
Reference in New Issue
Block a user