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:
|
||||
fprintf (stderr, "Cleaning up\n");
|
||||
if (basedir)
|
||||
unlink_dirs (basedir);
|
||||
if (fontdir)
|
||||
FcStrFree (fontdir);
|
||||
|
|
Loading…
Reference in New Issue