aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index 18673401..6db76da5 100644
--- a/main.c
+++ b/main.c
@@ -795,6 +795,8 @@ out:
for (size_t i = 0; i < sizeof(term.fonts) / sizeof(term.fonts[0]); i++) {
if (term.fonts[i].font != NULL)
cairo_scaled_font_destroy(term.fonts[i].font);
+ for (size_t j = 0; j < 256; j++)
+ free(term.fonts[i].glyph_cache[j].glyphs);
}
if (term.ptmx != -1)