summaryrefslogtreecommitdiffstats
path: root/firmware/font.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/font.c')
-rw-r--r--firmware/font.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/font.c b/firmware/font.c
index b8fa1c537f..724cb84d57 100644
--- a/firmware/font.c
+++ b/firmware/font.c
@@ -604,8 +604,7 @@ void font_unload(int font_id)
glyph_cache_save(font_id);
close(pf->fd);
}
- if (handle > 0)
- core_free(handle);
+ core_free(handle);
buflib_allocations[font_id] = -1;
}