[truetype] Fix memory leak (only if tracing is on).

* src/truetype/ttgxvar.c (TT_Get_MM_Var) [FT_DEBUG_LEVEL_TRACE}: Fix
it.
This commit is contained in:
Werner Lemberg 2018-03-30 13:46:03 +02:00
parent fa6da7bf6d
commit 597cb3b442
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2018-03-30 Werner Lemberg <wl@gnu.org>
[truetype] Fix memory leak (only if tracing is on).
* src/truetype/ttgxvar.c (TT_Get_MM_Var) [FT_DEBUG_LEVEL_TRACE}: Fix
it.
2018-03-23 Ben Wagner <bungeman@google.com>
[sfnt] Correctly handle missing bitmaps in sbix format (#53404).

View File

@ -2280,6 +2280,9 @@
psname ? "PS name: `" : "",
psname ? psname : "no PS name",
psname ? "'" : "" ));
FT_FREE( strname );
FT_FREE( psname );
}
#endif /* FT_DEBUG_LEVEL_TRACE */