diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-05-09 01:31:58 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-05-09 01:31:58 +0000 |
commit | 4dcd060cc51c0ff954db365f06ac117d90c0443b (patch) | |
tree | 287afc250eabf5c188b3f8c4e8b42347acb9e159 /tests/test-shape.c | |
parent | 73b46b04c724335ad73534cc69955baa2388b861 (diff) | |
parent | 5f2a5bbc95363ba25a6a7c107cd7daf260167e8b (diff) | |
download | pango-1-44.tar.gz |
Merge branch 'pango-1-44' into 'pango-1-44'pango-1-44
[1.44] Cherry pick various upstream fixes
See merge request GNOME/pango!321
Diffstat (limited to 'tests/test-shape.c')
-rw-r--r-- | tests/test-shape.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-shape.c b/tests/test-shape.c index 6c1ae296..17eaa1e0 100644 --- a/tests/test-shape.c +++ b/tests/test-shape.c @@ -185,8 +185,6 @@ test_file (const gchar *filename, GString *string) pango_attr_list_unref (itemize_attrs); pango_attr_list_unref (shape_attrs); - pango_attr_list_unref (attrs); - for (l = items; l; l = l->next) { PangoItem *item = l->data; @@ -281,6 +279,8 @@ test_file (const gchar *filename, GString *string) g_list_free_full (items, (GDestroyNotify)pango_item_free); g_free (contents); g_free (text); + + pango_attr_list_unref (attrs); } static gchar * |