mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-24 16:31:14 +01:00
more leak fixes
This commit is contained in:
1 parent
9473463f5c
commit
0b952e6026
2 files changed
+3
-2
No files matched your search
@@ -1133,7 +1133,7 @@ struct cff1
|
||||
{
|
||||
sc.end_processing ();
|
||||
topDict.fini ();
|
||||
fontDicts.fini ();
|
||||
fontDicts.fini_deep ();
|
||||
privateDicts.fini_deep ();
|
||||
hb_blob_destroy (blob);
|
||||
blob = nullptr;
|
||||
|
||||
@@ -486,6 +486,7 @@ struct cff2
|
||||
CFF2FontDict_Interpreter font_interp;
|
||||
font_interp.env.init (fontDictStr);
|
||||
font = fontDicts.push ();
|
||||
if (font == &Crap(CFF2FontDictValues)) { fini (); return; }
|
||||
font->init ();
|
||||
if (unlikely (!font_interp.interpret (*font))) { fini (); return; }
|
||||
|
||||
@@ -506,7 +507,7 @@ struct cff2
|
||||
inline void fini (void)
|
||||
{
|
||||
sc.end_processing ();
|
||||
fontDicts.fini ();
|
||||
fontDicts.fini_deep ();
|
||||
privateDicts.fini_deep ();
|
||||
hb_blob_destroy (blob);
|
||||
blob = nullptr;
|
||||
|
||||
Reference in new issue
Block a user