summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-01-23 18:40:27 +0000
committerMatthias Clasen <mclasen@redhat.com>2021-01-23 18:40:27 +0000
commitacc6f7bf03a5e1ca5d2e1e2206d5005b8ba0d810 (patch)
treef098ad62654bc3ebce17b3e4fab93ca1ad8181d9 /tests
parent87bab7a883bda1766606578470367310c6a5adaf (diff)
parentf7f15d079ec5e4716d88ff5796dcfa9a2e1629e8 (diff)
downloadpango-acc6f7bf03a5e1ca5d2e1e2206d5005b8ba0d810.tar.gz
Merge branch 'fix-test-leak' into 'master'
Fix test leak See merge request GNOME/pango!276
Diffstat (limited to 'tests')
-rw-r--r--tests/testmisc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/testmisc.c b/tests/testmisc.c
index 48f60ee9..1697b7cd 100644
--- a/tests/testmisc.c
+++ b/tests/testmisc.c
@@ -64,6 +64,7 @@ test_itemize_utf8 (void)
result = pango_itemize_with_base_dir (context, PANGO_DIRECTION_LTR, "\xc3\xa1\na", 3, 1, NULL, NULL);
g_assert (result != NULL);
+ g_list_free_full (result, (GDestroyNotify)pango_item_free);
g_object_unref (context);
}