1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

fix(x11): fix assert on delete (#5799)

This commit is contained in:
Gabor Kiss-Vamosi 2024-03-08 05:53:41 +01:00 committed by GitHub
parent b1bf19259b
commit b54349953a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -199,7 +199,6 @@ static void x11_disp_delete_evt_cb(lv_event_t * e)
lv_timer_delete(xd->timer);
lv_display_set_buffers(disp, NULL, NULL, 0, LV_DISPLAY_RENDER_MODE_PARTIAL);
lv_free(xd->buffer[0]);
if(LV_X11_DOUBLE_BUFFER) {
lv_free(xd->buffer[1]);