mirror of
https://github.com/lvgl/lvgl.git
synced 2025-02-04 07:13:00 +08:00
fix(draw): free buffer used for arabic processing
This commit is contained in:
parent
93d7bd4cf5
commit
aac672e88b
@ -1331,6 +1331,10 @@ static void draw_value_str(const lv_area_t * coords, const lv_area_t * clip, con
|
|||||||
label_dsc.opa = dsc->value_opa;
|
label_dsc.opa = dsc->value_opa;
|
||||||
|
|
||||||
lv_draw_label(&value_area, clip, &label_dsc, str, NULL);
|
lv_draw_label(&value_area, clip, &label_dsc, str, NULL);
|
||||||
|
|
||||||
|
#if LV_USE_ARABIC_PERSIAN_CHARS
|
||||||
|
_lv_mem_buf_release(str);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user