aboutsummaryrefslogtreecommitdiff
path: root/fontconfig/src/fcformat.c
diff options
context:
space:
mode:
Diffstat (limited to 'fontconfig/src/fcformat.c')
-rw-r--r--fontconfig/src/fcformat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fontconfig/src/fcformat.c b/fontconfig/src/fcformat.c
index 0e63d5d7c..8eef7bb29 100644
--- a/fontconfig/src/fcformat.c
+++ b/fontconfig/src/fcformat.c
@@ -294,7 +294,7 @@ interpret_builtin (FcFormatContext *c,
if (new_str)
{
FcStrBufString (buf, new_str);
- free (new_str);
+ FcStrFree (new_str);
return FcTrue;
}
else
@@ -1014,7 +1014,7 @@ interpret_convert (FcFormatContext *c,
if (new_str)
{
FcStrBufString (buf, new_str);
- free (new_str);
+ FcStrFree (new_str);
return FcTrue;
}
else