Fix a very serious memory leak in OUTLINE_FONT::getTextAsGlyphs().
This commit is contained in:
parent
1a023f5dd0
commit
bde2d388f1
|
@ -484,6 +484,7 @@ VECTOR2I OUTLINE_FONT::getTextAsGlyphs( BOX2I* aBBox, std::vector<std::unique_pt
|
|||
}
|
||||
|
||||
hb_buffer_destroy( buf );
|
||||
hb_font_destroy( referencedFont );
|
||||
|
||||
VECTOR2I cursorDisplacement( cursor.x * scaleFactor.x, -cursor.y * scaleFactor.y );
|
||||
|
||||
|
|
Loading…
Reference in New Issue