summaryrefslogtreecommitdiff
path: root/fc-pattern
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-pattern
parent5254a6630fdf132b0cda62c1bc7e8e40d2639bdf (diff)
Fix the wrong estimation for the memory usage information in fontconfig
Diffstat (limited to 'fc-pattern')
-rw-r--r--fc-pattern/fc-pattern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fc-pattern/fc-pattern.c b/fc-pattern/fc-pattern.c
index aa51e5f3..84eb1eea 100644
--- a/fc-pattern/fc-pattern.c
+++ b/fc-pattern/fc-pattern.c
@@ -176,7 +176,7 @@ main (int argc, char **argv)
if (s)
{
printf ("%s", s);
- free (s);
+ FcStrFree (s);
}
}
else