[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2-demos] master 09f0d45: Use new `FT_Done_Var_MM' function.
From: |
Werner LEMBERG |
Subject: |
[freetype2-demos] master 09f0d45: Use new `FT_Done_Var_MM' function. |
Date: |
Sat, 6 Jan 2018 02:42:57 -0500 (EST) |
branch: master
commit 09f0d457014f7b619493a189261dea7e807e9b13
Author: Werner Lemberg <address@hidden>
Commit: Werner Lemberg <address@hidden>
Use new `FT_Done_Var_MM' function.
* src/ftdump.c (Print_MM_Axes), src/ftgrid.c (main), src/ftmulti.c
(main): Do it.
---
ChangeLog | 7 +++++++
src/ftdump.c | 2 +-
src/ftgrid.c | 2 +-
src/ftmulti.c | 2 +-
4 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 3f3fd11..eb1bd56 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2018-01-06 Werner Lemberg <address@hidden>
+
+ Use new `FT_Done_Var_MM' function.
+
+ * src/ftdump.c (Print_MM_Axes), src/ftgrid.c (main), src/ftmulti.c
+ (main): Do it.
+
2017-12-31 Werner Lemberg <address@hidden>
[ttdebug] Fix compiler warnings and run-time errors.
diff --git a/src/ftdump.c b/src/ftdump.c
index 30d42d8..af65335 100644
--- a/src/ftdump.c
+++ b/src/ftdump.c
@@ -584,7 +584,7 @@
mm->axis[i].def / 65536.0 );
}
- free( mm );
+ FT_Done_MM_Var( face->glyph->library, mm );
}
diff --git a/src/ftgrid.c b/src/ftgrid.c
index d0a314f..212cd83 100644
--- a/src/ftgrid.c
+++ b/src/ftgrid.c
@@ -2093,7 +2093,7 @@
for ( n = 0; n < MAX_MM_AXES; n++ )
free( status.axis_name[n] );
- free( status.mm );
+ FT_Done_MM_Var( handle->library, status.mm );
FT_Stroker_Done( status.stroker );
FTDemo_Display_Done( display );
diff --git a/src/ftmulti.c b/src/ftmulti.c
index 86c229f..4486918 100644
--- a/src/ftmulti.c
+++ b/src/ftmulti.c
@@ -929,7 +929,7 @@
}
/* retrieve multiple master information */
- free( multimaster );
+ FT_Done_MM_Var( library, multimaster );
error = FT_Get_MM_Var( face, &multimaster );
if ( error )
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2-demos] master 09f0d45: Use new `FT_Done_Var_MM' function.,
Werner LEMBERG <=