Ensure closing fp on error

This commit is contained in:
Akira TAGOH 2013-04-09 11:34:35 +09:00
parent 18bf57c70a
commit 9299155b52
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ FcHashGetSHA256DigestFromFile (const FcChar8 *filename)
ret = FcHashInitSHA256Digest ();
if (!ret)
return NULL;
goto bail0;
while (!feof (fp))
{