Fix leak of gViewManagers nsVoidArray. r=roc+moz@cs.cmu.edu sr=brendan@mozilla.org b=58965
git-svn-id: svn://10.0.0.236/trunk@82413 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -417,6 +417,7 @@ nsViewManager::~nsViewManager()
|
||||
// release the global array of view managers
|
||||
|
||||
NS_ASSERTION(gViewManagers != nsnull, "About to delete null gViewManagers");
|
||||
delete gViewManagers;
|
||||
gViewManagers = nsnull;
|
||||
|
||||
// Cleanup all of the offscreen drawing surfaces if the last view manager
|
||||
|
||||
Reference in New Issue
Block a user