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:
rpotts%netscape.com
1998-11-05 05:39:16 +00:00
parent 2b6176f9d8
commit 6f2f42b217
2 changed files with 2 additions and 0 deletions

View File

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

View File

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