Use delete instead of free
This commit is contained in:
parent
8b0668413d
commit
b6a45a07ab
@ -111,7 +111,7 @@ int lvgl_fb_run(const char* const fb_dev)
|
|||||||
|
|
||||||
destroy_widgets();
|
destroy_widgets();
|
||||||
|
|
||||||
free(buf1);
|
delete[] buf1;
|
||||||
|
|
||||||
close_fb(&fb);
|
close_fb(&fb);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user