Don't call unlink_dirs if basedir is null
This commit is contained in:
parent
a57647e155
commit
c44fda28e1
|
@ -295,7 +295,8 @@ main (void)
|
||||||
|
|
||||||
bail:
|
bail:
|
||||||
fprintf (stderr, "Cleaning up\n");
|
fprintf (stderr, "Cleaning up\n");
|
||||||
unlink_dirs (basedir);
|
if (basedir)
|
||||||
|
unlink_dirs (basedir);
|
||||||
if (fontdir)
|
if (fontdir)
|
||||||
FcStrFree (fontdir);
|
FcStrFree (fontdir);
|
||||||
if (cachedir)
|
if (cachedir)
|
||||||
|
|
Loading…
Reference in New Issue