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