Fixed memory leak related to UrlDispatcher

git-svn-id: svn://10.0.0.236/trunk@46923 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
vidur%netscape.com
1999-09-11 02:25:59 +00:00
parent 47acbf3663
commit a2c1afec2a
2 changed files with 2 additions and 0 deletions

View File

@@ -1292,6 +1292,7 @@ nsWebShell::Destroy()
SetContainer(nsnull);
SetObserver(nsnull);
SetDocLoaderObserver(nsnull);
SetUrlDispatcher(nsnull);
// Remove this webshell from its parent's child list
if (nsnull != mParent) {