fix leak of atoms via gSpecialCharSets. Bug 200780, r=bstell, sr=blizzard

This commit is contained in:
bryner%netscape.com 2003-04-06 21:39:04 +00:00
parent d11405d58c
commit 67de3828f5

View File

@ -803,6 +803,7 @@ FreeGlobals(void)
}
NS_IF_RELEASE(gPref);
if (gSpecialCharSets) {
gSpecialCharSets->Reset(FreeCharSetMap, nsnull);
delete gSpecialCharSets;
gSpecialCharSets = nsnull;
}