Fix a memory leak in FcDirScanConfig()
This commit is contained in:
parent
1aaf8b773d
commit
ea1c6ea337
|
@ -211,6 +211,9 @@ bail2:
|
||||||
bail1:
|
bail1:
|
||||||
closedir (d);
|
closedir (d);
|
||||||
bail:
|
bail:
|
||||||
|
if (file)
|
||||||
|
free (file);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue