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:
1a5d0da
)
Minor
author
Behdad Esfahbod
<behdad@behdad.org>
Wed, 16 Jan 2013 13:05:07 +0000
(07:05 -0600)
committer
Behdad Esfahbod
<behdad@behdad.org>
Wed, 16 Jan 2013 13:05:07 +0000
(07:05 -0600)
src/fcfreetype.c
patch
|
blob
|
history
diff --git
a/src/fcfreetype.c
b/src/fcfreetype.c
index
9ac2fa9
..
faf3c35
100644
(file)
--- a/
src/fcfreetype.c
+++ b/
src/fcfreetype.c
@@
-1706,7
+1706,8
@@
FcFreeTypeQueryFace (const FT_Face face,
{
const char *font_format = FT_Get_X11_Font_Format (face);
if (font_format)
- FcPatternAddString (pat, FC_FONTFORMAT, (FcChar8 *) font_format);
+ if (!FcPatternAddString (pat, FC_FONTFORMAT, (FcChar8 *) font_format))
+ goto bail2;
}
#endif