Don't leak proxy.

This commit is contained in:
rjc%netscape.com 1999-08-05 20:10:08 +00:00
parent 35110faa8c
commit b53d0a5a07

View File

@ -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;