diff options
Diffstat (limited to 'firmware/font.c')
-rw-r--r-- | firmware/font.c | 3 |
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) | |||
604 | glyph_cache_save(font_id); | 604 | glyph_cache_save(font_id); |
605 | close(pf->fd); | 605 | close(pf->fd); |
606 | } | 606 | } |
607 | if (handle > 0) | 607 | core_free(handle); |
608 | core_free(handle); | ||
609 | buflib_allocations[font_id] = -1; | 608 | buflib_allocations[font_id] = -1; |
610 | 609 | ||
611 | } | 610 | } |