Fix crash in TGUI 9440CXI

This commit is contained in:
Jasmine Iwanek
2022-07-22 21:15:15 -04:00
parent 1ee4a12bce
commit 924408cf58

View File

@@ -3154,8 +3154,10 @@ void tgui_close(void *p)
svga_close(&tgui->svga);
if (tgui->type >= TGUI_9440) {
ddc_close(tgui->ddc);
i2c_gpio_close(tgui->i2c);
};
free(tgui);
}