mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 13:56:29 +00:00
fix bug #1112. Free the next stream listener as soon as OnStopBinding(...) is called...
This commit is contained in:
parent
75e5ccea4e
commit
4c7b5f52a5
@ -1379,6 +1379,7 @@ NS_METHOD nsDocumentBindInfo::OnStopBinding(nsIURL* aURL, PRInt32 aStatus,
|
||||
* The stream is complete... Tell the DocumentLoader to release us...
|
||||
*/
|
||||
m_DocLoader->LoadURLComplete(aURL, (nsIStreamListener *)this, aStatus);
|
||||
NS_IF_RELEASE(m_NextStream);
|
||||
|
||||
return rv;
|
||||
}
|
||||
|
@ -1379,6 +1379,7 @@ NS_METHOD nsDocumentBindInfo::OnStopBinding(nsIURL* aURL, PRInt32 aStatus,
|
||||
* The stream is complete... Tell the DocumentLoader to release us...
|
||||
*/
|
||||
m_DocLoader->LoadURLComplete(aURL, (nsIStreamListener *)this, aStatus);
|
||||
NS_IF_RELEASE(m_NextStream);
|
||||
|
||||
return rv;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user