Commit e9d31775 authored by Akira TAGOH's avatar Akira TAGOH

Fix the leak of file handle

parent d1f48f11
......@@ -110,6 +110,7 @@ FcDirCacheCreateUUID (FcChar8 *dir,
{
ret = FcFalse;
FcAtomicDeleteNew (atomic);
close (fd);
goto bail3;
}
uuid_unparse (uuid, out);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment