summaryrefslogtreecommitdiff
path: root/tests/testmisc.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-01-23 13:21:26 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-01-23 13:21:26 -0500
commit0df958b161d44a92eef61c4198ddfa2d6ae8045c (patch)
tree968ec3cb4946aa49f510b483c180463607af1508 /tests/testmisc.c
parentd218b1f16f341f57bfa264df264da8791f9da599 (diff)
downloadpango-0df958b161d44a92eef61c4198ddfa2d6ae8045c.tar.gz
tests: Plug a memory leak
We just plugged all the memory leaks in tests, lets not introduce new ones.
Diffstat (limited to 'tests/testmisc.c')
-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);
}