diff options
author | Timm Bäder <mail@baedert.org> | 2017-10-07 18:11:43 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-10-27 16:29:14 -0400 |
commit | c53d56212a3491ea3eeb49f7e38391eb95dfe671 (patch) | |
tree | 2ec3e624ec01dce25bfd7fb4f2eec93bee0d27db /tests/testiter.c | |
parent | 0b9aac291ac3fc341da74b80119052892d097e26 (diff) | |
download | pango-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.c | 2 |
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 |