[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] master 597cb3b: [truetype] Fix memory leak (only if tracing
From: |
Werner LEMBERG |
Subject: |
[freetype2] master 597cb3b: [truetype] Fix memory leak (only if tracing is on). |
Date: |
Fri, 30 Mar 2018 07:46:14 -0400 (EDT) |
branch: master
commit 597cb3b44267325d6aa8ee32bf5b7712aa2b588f
Author: Werner Lemberg <address@hidden>
Commit: Werner Lemberg <address@hidden>
[truetype] Fix memory leak (only if tracing is on).
* src/truetype/ttgxvar.c (TT_Get_MM_Var) [FT_DEBUG_LEVEL_TRACE}: Fix
it.
---
ChangeLog | 7 +++++++
src/truetype/ttgxvar.c | 3 +++
2 files changed, 10 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index c6ed98d..cc2c777 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2018-03-30 Werner Lemberg <address@hidden>
+
+ [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 <address@hidden>
[sfnt] Correctly handle missing bitmaps in sbix format (#53404).
diff --git a/src/truetype/ttgxvar.c b/src/truetype/ttgxvar.c
index b3e9ec7..29ab2a4 100644
--- 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 */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] master 597cb3b: [truetype] Fix memory leak (only if tracing is on).,
Werner LEMBERG <=