summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUli Schlachter <psychon@znc.in>2019-01-09 07:50:12 +0100
committerUli Schlachter <psychon@znc.in>2019-01-09 07:50:12 +0100
commit6edf572ebb27b00d3c371ba5ae267e39d27d5b6d (patch)
tree66f52b9728520ce06700b4b428a38bea180ab506
parentd061570a70c12ebf43e9aa914a9cbb87b616a979 (diff)
parent90e85c2493fdfa3551f202ff10282463f1e36645 (diff)
Merge branch 'ft-crash' of gitlab.freedesktop.org:carlosgc/cairo
-rw-r--r--src/cairo-ft-font.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cairo-ft-font.c b/src/cairo-ft-font.c
index 1841adb85..4c70e1b58 100644
--- a/src/cairo-ft-font.c
+++ b/src/cairo-ft-font.c
@@ -2399,7 +2399,11 @@ skip:
done:
free (coords);
free (current_coords);
+#if HAVE_FT_DONE_MM_VAR
+ FT_Done_MM_Var (face->glyph->library, ft_mm_var);
+#else
free (ft_mm_var);
+#endif
}
}