summaryrefslogtreecommitdiff
path: root/tests/test-shape.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-01-20 02:43:43 +0000
committerMatthias Clasen <mclasen@redhat.com>2021-01-20 02:43:43 +0000
commit59074f13f87f09f493b0534da302f915a3f67a8f (patch)
tree36bd01f6d0b4416780f94591557e559799d630f7 /tests/test-shape.c
parent0fe5b634963ca320485549f095683be3b3750168 (diff)
parentb538d911d726ea72523413b75b864b52993fa178 (diff)
downloadpango-59074f13f87f09f493b0534da302f915a3f67a8f.tar.gz
Merge branch 'lsan_slice' into 'master'
Force malloc of g_slices in asan build See merge request GNOME/pango!262
Diffstat (limited to 'tests/test-shape.c')
-rw-r--r--tests/test-shape.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test-shape.c b/tests/test-shape.c
index 043f3d31..be3e4415 100644
--- a/tests/test-shape.c
+++ b/tests/test-shape.c
@@ -361,7 +361,10 @@ main (int argc, char *argv[])
g_free (path);
if (g_error_matches (error, G_FILE_ERROR, G_FILE_ERROR_NOENT))
- return 0;
+ {
+ g_error_free (error);
+ return 0;
+ }
g_assert_no_error (error);
while ((name = g_dir_read_name (dir)) != NULL)