Fix a memory leak in FcDirScanConfig()

This commit is contained in:
Akira TAGOH 2012-03-27 21:06:36 +09:00
parent 1aaf8b773d
commit ea1c6ea337
1 changed files with 3 additions and 0 deletions

View File

@ -211,6 +211,9 @@ bail2:
bail1: bail1:
closedir (d); closedir (d);
bail: bail:
if (file)
free (file);
return ret; return ret;
} }