Description
I add extra attributes to btn and i want to know do i need use fucntion free() before i use lv_obj_del(btn)?
What MCU/Processor/Board and compiler are you using?
simulator, gcc
What LVGL version are you using?
7.7.0
What do you want to achieve?
In my programm i need to use structure like
typedef struct{
lv_obj_t ** list_of_obj;
int ** list_of_coord;
}my_struct;
and i want to send pointer to a structure of the given type to event callack function, so i do something like that:
lv_obj_allocate_extr_attr(my_btn,sizeof(my_struct));
then I fill the structure with the arrays I need.
So the main question is “Do i need to use function free with arguments list_of_obj and list_of_coord before i use lv_obj_del(my_btn)?”