mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 21:35:39 +00:00
Fix for crash when forwarding NTTP message - Bug #: 38223 - r: ducarroz
This commit is contained in:
parent
db1c7e8b35
commit
579573d16e
@ -251,7 +251,10 @@ nsURLFetcher::OnStopRequest(nsIChannel *aChannel, nsISupports * /* ctxt */, nsre
|
||||
|
||||
// First close the output stream...
|
||||
if (mOutStream)
|
||||
{
|
||||
mOutStream->close();
|
||||
mOutStream = nsnull;
|
||||
}
|
||||
|
||||
// Check the content type!
|
||||
if (aChannel)
|
||||
|
Loading…
Reference in New Issue
Block a user