aboutsummaryrefslogtreecommitdiff
path: root/fontconfig/fc-pattern
diff options
context:
space:
mode:
Diffstat (limited to 'fontconfig/fc-pattern')
-rw-r--r--fontconfig/fc-pattern/fc-pattern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fontconfig/fc-pattern/fc-pattern.c b/fontconfig/fc-pattern/fc-pattern.c
index aa51e5f39..84eb1eea1 100644
--- a/fontconfig/fc-pattern/fc-pattern.c
+++ b/fontconfig/fc-pattern/fc-pattern.c
@@ -176,7 +176,7 @@ main (int argc, char **argv)
if (s)
{
printf ("%s", s);
- free (s);
+ FcStrFree (s);
}
}
else