mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-25 01:01:52 +00:00
bug#46360: fixing leak of nsWeakReference. Thanks, Patrick. pnunn.
This commit is contained in:
parent
9c39057d7a
commit
467214e04f
@ -835,8 +835,7 @@ NS_NewImageNetContext(ilINetContext **aInstancePtrResult,
|
||||
}
|
||||
|
||||
if(aLoadContext){
|
||||
nsCOMPtr<nsISupports> loadContext (do_QueryReferent(NS_GetWeakReference(aLoadContext)));
|
||||
nsCOMPtr<nsILoadGroup> group (do_GetInterface(loadContext));
|
||||
nsCOMPtr<nsILoadGroup> group (do_GetInterface(aLoadContext));
|
||||
nsresult rv = group->GetDefaultLoadAttributes(&necko_attribs);
|
||||
/*
|
||||
Need code to check freshness of necko cache.
|
||||
|
Loading…
Reference in New Issue
Block a user