diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-01-23 13:21:26 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-01-23 13:21:26 -0500 |
commit | 0df958b161d44a92eef61c4198ddfa2d6ae8045c (patch) | |
tree | 968ec3cb4946aa49f510b483c180463607af1508 /tests/testmisc.c | |
parent | d218b1f16f341f57bfa264df264da8791f9da599 (diff) | |
download | pango-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.c | 1 |
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); } |