From c53d56212a3491ea3eeb49f7e38391eb95dfe671 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Sat, 7 Oct 2017 18:11:43 +0200 Subject: testiter: Don't leak PangoFontDescriptions https://bugzilla.gnome.org/show_bug.cgi?id=788643 --- tests/testiter.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/testiter.c b/tests/testiter.c index a172a23c..de3b462f 100644 --- a/tests/testiter.c +++ b/tests/testiter.c @@ -237,6 +237,7 @@ test_layout_iter (void) g_object_unref (layout); g_object_unref (context); + pango_font_description_free (font_desc); } static void @@ -290,6 +291,7 @@ test_glyphitem_iter (void) g_object_unref (layout); g_object_unref (context); + pango_font_description_free (font_desc); } int -- cgit v1.2.1