Do not delete the nsIInputStream. Call Release() instead. Reference counting is important!!

git-svn-id: svn://10.0.0.236/trunk@986 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rpotts
1998-05-01 04:59:28 +00:00
parent 780c801dcc
commit a5b0db532d
2 changed files with 2 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ CScanner::CScanner(nsIURL* aURL,eParseMode aMode) : mBuffer("") {
*/
CScanner::~CScanner() {
mStream->Close();
delete mStream;
mStream->Release();
}