FontCache::purgeInactiveFontData() is called to delete some inactive SimpleFontData objects. But the deleted SimpleFontData objects' glyph data are still left in glyph page tree. I think this can be considered as leaks. Following code fixes it. - for (size_t i = 0; i < fontDataToDeleteCount; ++i) + for (size_t i = 0; i < fontDataToDeleteCount; ++i) { + GlyphPageTreeNode::pruneTreeFontData(fontDataToDelete[i]); delete fontDataToDelete[i]; + } Patch is following
Created attachment 50722 [details] the patch
Comment on attachment 50722 [details] the patch review canceled. seems it's already called SimpleFontData's dtor. need more investigation on why this code helps
sorry. seems like a false alarm. will reopen it if necessary