From 36d361677b1bed7ccb2dd31fc40d0125c5111564 Mon Sep 17 00:00:00 2001 From: "bryner%netscape.com" Date: Sun, 6 Apr 2003 21:50:12 +0000 Subject: [PATCH] fix leak of atoms via mSpecialCharSets. Bug 200780, patch by roland mainz, r=bstell, sr=blizzard --- gfx/src/xlib/nsFontMetricsXlib.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gfx/src/xlib/nsFontMetricsXlib.cpp b/gfx/src/xlib/nsFontMetricsXlib.cpp index 5e59feb7439..b2c9511bf64 100644 --- a/gfx/src/xlib/nsFontMetricsXlib.cpp +++ b/gfx/src/xlib/nsFontMetricsXlib.cpp @@ -1003,6 +1003,7 @@ nsFontMetricsXlibContext::~nsFontMetricsXlibContext() mCachedFFRESearches.Reset(FreeNodeArray, nsnull); mFFRENodes.Reset(FreeNode, nsnull); mAFRENodes.Reset(FreeNode, nsnull); + mSpecialCharSets.Reset(FreeCharSetMap, nsnull); const nsFontCharSetMapXlib* charSetMap; for (charSetMap=mCharSetMap; charSetMap->mFontLangGroup; charSetMap++) {