fix(tiny_ttf): release entry for correct cache (#9429)

This commit is contained in:
蒋慧赟
2025-12-20 14:51:18 +08:00
committed by GitHub
parent ff258e2b3d
commit 2f238fefcd
+1 -1
View File
@@ -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;
}