mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-24 00:07:03 +08:00
fix(test_span): remove the reference before deleting the font (#8753)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com> Signed-off-by: zhouxingjian <zhouxingjian@xiaomi.com> Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
This commit is contained in:
@@ -581,6 +581,8 @@ void test_spangroup_set_line_space(void)
|
||||
lv_span_set_text(span, test_text);
|
||||
|
||||
TEST_ASSERT_EQUAL_SCREENSHOT("widgets/span_14.png");
|
||||
|
||||
lv_obj_set_style_text_font(spangroup, LV_FONT_DEFAULT, 0);
|
||||
lv_freetype_font_delete(font);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user