summaryrefslogtreecommitdiff
path: root/tree/font.c
diff options
context:
space:
mode:
Diffstat (limited to 'tree/font.c')
-rw-r--r--tree/font.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tree/font.c b/tree/font.c
index 58c194ae..28045f5d 100644
--- a/tree/font.c
+++ b/tree/font.c
@@ -217,10 +217,10 @@ notfound:
}
void
-fz_freefont(fz_font *font)
+fz_dropfont(fz_font *font)
{
- if (font->free)
- font->free(font);
+ if (font->drop)
+ font->drop(font);
fz_free(font->hmtx);
fz_free(font->vmtx);
fz_free(font);