Fixed nsDocShell leak and nsEditingSession init after forced reload of document. b=180146, r=cmanske, sr=sfraser

git-svn-id: svn://10.0.0.236/trunk@134171 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cmanske%netscape.com
2002-11-20 06:23:05 +00:00
parent 886c145069
commit f3b0cea7ba
4 changed files with 38 additions and 9 deletions

View File

@@ -3009,6 +3009,9 @@ nsDocShell::Destroy()
mContentListener->SetParentContentListener(nsnull);
NS_RELEASE(mContentListener);
}
delete mEditorData;
mEditorData = 0;
return NS_OK;
}