mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 18:47:53 +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);
|
||||
#endif
|
||||
|
||||
// don't leak proxy!
|
||||
proxy->Close();
|
||||
delete proxy;
|
||||
proxy = nsnull;
|
||||
|
||||
done:
|
||||
NS_RELEASE(in);
|
||||
return rv;
|
||||
|
Loading…
Reference in New Issue
Block a user