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

* src/truetype/ttgxvar.c (TT_Get_MM_Var) [FT_DEBUG_LEVEL_TRACE}: Fix
it.
Harmony
Werner Lemberg 7 years ago
parent fa6da7bf6d
commit 597cb3b442
  1. 7
      ChangeLog
  2. 3
      src/truetype/ttgxvar.c

@ -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).

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

Loading…
Cancel
Save