mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-23 07:46:36 +08:00
fix(tiny_ttf): release entry for correct cache (#9429)
This commit is contained in:
@@ -270,7 +270,7 @@ static uint16_t ttf_get_glyph_pair_kerning_width(const ttf_font_desc_t * dsc, ui
|
||||
tiny_ttf_kerning_cache_data_t * data = lv_cache_entry_get_data(kerning_entry);
|
||||
LV_ASSERT_NULL(data);
|
||||
|
||||
lv_cache_release(dsc->glyph_cache, kerning_entry, NULL);
|
||||
lv_cache_release(dsc->kerning_cache, kerning_entry, NULL);
|
||||
return data->adv_w16;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user