summaryrefslogtreecommitdiff
path: root/tests/testiter.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2017-10-07 18:11:43 +0200
committerMatthias Clasen <mclasen@redhat.com>2017-10-27 16:29:14 -0400
commitc53d56212a3491ea3eeb49f7e38391eb95dfe671 (patch)
tree2ec3e624ec01dce25bfd7fb4f2eec93bee0d27db /tests/testiter.c
parent0b9aac291ac3fc341da74b80119052892d097e26 (diff)
downloadpango-c53d56212a3491ea3eeb49f7e38391eb95dfe671.tar.gz
testiter: Don't leak PangoFontDescriptions
https://bugzilla.gnome.org/show_bug.cgi?id=788643
Diffstat (limited to 'tests/testiter.c')
-rw-r--r--tests/testiter.c2
1 files changed, 2 insertions, 0 deletions
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