1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

fix(draw): free buffer used for arabic processing

This commit is contained in:
Gabor Kiss-Vamosi 2020-12-20 10:54:40 +01:00
parent 93d7bd4cf5
commit aac672e88b

View File

@ -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;
lv_draw_label(&value_area, clip, &label_dsc, str, NULL);
#if LV_USE_ARABIC_PERSIAN_CHARS
_lv_mem_buf_release(str);
#endif
}
#endif