diff options
Diffstat (limited to 'fc-match')
-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 6f3d2dc8..86ff2538 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) { |