mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 16:29:38 +02:00
EasyLazFreeType: Allow freeing TFreeTypeFont after EasyLazFreeType finalization. Issue #32371, patch from Andrey Zubarev.
git-svn-id: trunk@55788 -
This commit is contained in:
parent
5500b0895e
commit
f331aaa8a1
@ -837,7 +837,8 @@ end;
|
|||||||
|
|
||||||
destructor TFreeTypeGlyph.Destroy;
|
destructor TFreeTypeGlyph.Destroy;
|
||||||
begin
|
begin
|
||||||
TT_Done_Glyph(FGlyphData);
|
if FreeTypeInitialized then
|
||||||
|
TT_Done_Glyph(FGlyphData);
|
||||||
inherited Destroy;
|
inherited Destroy;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user