fix bug #1112. Free the next stream listener as soon as OnStopBinding(...) is called...
git-svn-id: svn://10.0.0.236/trunk@14132 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user