summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/fitz/draw-glyph.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/fitz/draw-glyph.c b/source/fitz/draw-glyph.c
index 340fcf8b..f38f9140 100644
--- a/source/fitz/draw-glyph.c
+++ b/source/fitz/draw-glyph.c
@@ -71,6 +71,7 @@ drop_glyph_cache_entry(fz_context *ctx, fz_glyph_cache_entry *entry)
entry->bucket_prev->bucket_next = entry->bucket_next;
else
cache->entry[entry->hash] = entry->bucket_next;
+ fz_drop_font(ctx, entry->key.font);
fz_drop_pixmap(ctx, entry->val);
fz_free(ctx, entry);
}