Skip to content

Commit

Permalink
Fix a memory leak
Browse files Browse the repository at this point in the history
cairo_ft_apply_variations was leaking the FT_MM_Var struct.
  • Loading branch information
Matthias Clasen committed Jan 5, 2018
1 parent a7a0085 commit 616fb7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cairo-ft-font.c
Original file line number Diff line number Diff line change
Expand Up @@ -2362,6 +2362,7 @@ cairo_ft_apply_variations (FT_Face face,
done:
free (coords);
free (current_coords);
free (ft_mm_var);
}
}

Expand Down

0 comments on commit 616fb7a

Please sign in to comment.