diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2018-01-08 09:55:41 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2018-01-08 09:55:41 +0000 |
commit | 94683a1255c065a7f8e7fadee9de605f3eaf9ac7 (patch) | |
tree | cf7afd7ec80e3039e63ff3933080dabae7457788 /src | |
parent | 97488fd72577a86ffd52bbb42d781bad0dd723cf (diff) |
Use FT_Done_MM_Var if available
Diffstat (limited to 'src')
-rw-r--r-- | src/fcfreetype.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fcfreetype.c b/src/fcfreetype.c index 22d651d1..4d076b77 100644 --- a/src/fcfreetype.c +++ b/src/fcfreetype.c @@ -2170,7 +2170,11 @@ skip: } while (!err && (!index_set || face_num == set_face_num) && face_num < num_faces); bail: +#ifdef HAVE_FT_DONE_MM_VAR + FT_Done_MM_Var (ftLibrary, mm_var); +#else free (mm_var); +#endif FcLangSetDestroy (ls); FcCharSetDestroy (cs); if (face) |