Fix the leak of file handle
This commit is contained in:
parent
d1f48f11d5
commit
e9d3177557
|
@ -110,6 +110,7 @@ FcDirCacheCreateUUID (FcChar8 *dir,
|
|||
{
|
||||
ret = FcFalse;
|
||||
FcAtomicDeleteNew (atomic);
|
||||
close (fd);
|
||||
goto bail3;
|
||||
}
|
||||
uuid_unparse (uuid, out);
|
||||
|
|
Loading…
Reference in New Issue