diff --git a/test/test-bz106632.c b/test/test-bz106632.c index c2edd72..8558b58 100644 --- a/test/test-bz106632.c +++ b/test/test-bz106632.c @@ -295,7 +295,8 @@ main (void) bail: fprintf (stderr, "Cleaning up\n"); - unlink_dirs (basedir); + if (basedir) + unlink_dirs (basedir); if (fontdir) FcStrFree (fontdir); if (cachedir)