From 616fb7a9f2612f6cc3472542a70ba3e8ccf16584 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 4 Jan 2018 20:56:59 -0500 Subject: [PATCH] Fix a memory leak cairo_ft_apply_variations was leaking the FT_MM_Var struct. --- src/cairo-ft-font.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cairo-ft-font.c b/src/cairo-ft-font.c index caa101537..e411172ae 100644 --- a/src/cairo-ft-font.c +++ b/src/cairo-ft-font.c @@ -2362,6 +2362,7 @@ skip: done: free (coords); free (current_coords); + free (ft_mm_var); } }