Ensure closing fp on error
This commit is contained in:
parent
18bf57c70a
commit
9299155b52
|
@ -220,7 +220,7 @@ FcHashGetSHA256DigestFromFile (const FcChar8 *filename)
|
|||
|
||||
ret = FcHashInitSHA256Digest ();
|
||||
if (!ret)
|
||||
return NULL;
|
||||
goto bail0;
|
||||
|
||||
while (!feof (fp))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue