ref: 597cb3b44267325d6aa8ee32bf5b7712aa2b588f
parent: fa6da7bf6dcbcfa22d2464259ad1cccee3233189
author: Werner Lemberg <[email protected]>
date: Fri Mar 30 09:46:03 EDT 2018
[truetype] Fix memory leak (only if tracing is on). * src/truetype/ttgxvar.c (TT_Get_MM_Var) [FT_DEBUG_LEVEL_TRACE}: Fix it.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2018-03-30 Werner Lemberg <[email protected]>
+
+ [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 <[email protected]>
[sfnt] Correctly handle missing bitmaps in sbix format (#53404).
--- a/src/truetype/ttgxvar.c
+++ b/src/truetype/ttgxvar.c
@@ -2280,6 +2280,9 @@
psname ? "PS name: `" : "",
psname ? psname : "no PS name",
psname ? "'" : "" ));
+
+ FT_FREE( strname );
+ FT_FREE( psname );
}
#endif /* FT_DEBUG_LEVEL_TRACE */