summaryrefslogtreecommitdiff
path: root/fc-cat
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2012-06-01 19:06:17 +0900
committerAkira TAGOH <akira@tagoh.org>2012-06-01 19:06:17 +0900
commit1b692d8ab91a096e7d433c51ab187382de91147b (patch)
tree45f44a807da2812eab3043d2e8d375d9035db8ae /fc-cat
parent5254a6630fdf132b0cda62c1bc7e8e40d2639bdf (diff)
Fix the wrong estimation for the memory usage information in fontconfig
Diffstat (limited to 'fc-cat')
-rw-r--r--fc-cat/fc-cat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fc-cat/fc-cat.c b/fc-cat/fc-cat.c
index b273f25d..72912b79 100644
--- a/fc-cat/fc-cat.c
+++ b/fc-cat/fc-cat.c
@@ -231,7 +231,7 @@ cache_print_set (FcFontSet *set, FcStrSet *dirs, const FcChar8 *base_name, FcBoo
if (s)
{
printf ("%s", s);
- free (s);
+ FcStrFree (s);
}
}
if (verbose && !set->nfont && !ndir)