diff options
Diffstat (limited to 'fc-match/fc-match.c')
-rw-r--r-- | fc-match/fc-match.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/fc-match/fc-match.c b/fc-match/fc-match.c index 6f3d2dc..86ff253 100644 --- a/fc-match/fc-match.c +++ b/fc-match/fc-match.c @@ -214,7 +214,11 @@ main (int argc, char **argv) FcChar8 *s; s = FcPatternFormat (font, format); - free (s); + if (s) + { + printf ("%s", s); + free (s); + } } else if (os) { |