Fix the leak of file handle

This commit is contained in:
Akira TAGOH 2018-07-19 11:32:50 +09:00
parent d1f48f11d5
commit e9d3177557
1 changed files with 1 additions and 0 deletions

View File

@ -110,6 +110,7 @@ FcDirCacheCreateUUID (FcChar8 *dir,
{
ret = FcFalse;
FcAtomicDeleteNew (atomic);
close (fd);
goto bail3;
}
uuid_unparse (uuid, out);