Commit 90e85c24 authored by Carlos Garcia Campos's avatar Carlos Garcia Campos Committed by Carlos Garcia Campos

ft: Use FT_Done_MM_Var instead of free when available in cairo_ft_apply_variations

Fixes a crash when using freetype >= 2.9
parent 01788f5e
......@@ -2393,7 +2393,11 @@ skip:
free (coords);
free (current_coords);
FT_Done_MM_Var (face->glyph->library, ft_mm_var);
free (ft_mm_var);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment