mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 11:26:09 +00:00
Don't leak proxy.
This commit is contained in:
parent
35110faa8c
commit
b53d0a5a07
@ -610,6 +610,11 @@ rdf_BlockingParse(nsIURI* aURL, nsIStreamListener* aConsumer)
|
|||||||
aConsumer->OnStopRequest(aURL, 0, nsnull);
|
aConsumer->OnStopRequest(aURL, 0, nsnull);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// don't leak proxy!
|
||||||
|
proxy->Close();
|
||||||
|
delete proxy;
|
||||||
|
proxy = nsnull;
|
||||||
|
|
||||||
done:
|
done:
|
||||||
NS_RELEASE(in);
|
NS_RELEASE(in);
|
||||||
return rv;
|
return rv;
|
||||||
|
Loading…
Reference in New Issue
Block a user