projects
/
platform
/
upstream
/
fontconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18bf57c
)
Ensure closing fp on error
author
Akira TAGOH
<akira@tagoh.org>
Tue, 9 Apr 2013 02:34:35 +0000
(11:34 +0900)
committer
Akira TAGOH
<akira@tagoh.org>
Tue, 9 Apr 2013 02:34:35 +0000
(11:34 +0900)
src/fchash.c
patch
|
blob
|
history
diff --git
a/src/fchash.c
b/src/fchash.c
index
827b20f
..
4ea5f37
100644
(file)
--- a/
src/fchash.c
+++ b/
src/fchash.c
@@
-220,7
+220,7
@@
FcHashGetSHA256DigestFromFile (const FcChar8 *filename)
ret = FcHashInitSHA256Digest ();
if (!ret)
-
return NULL
;
+
goto bail0
;
while (!feof (fp))
{