Fix crash in TGUI 9440CXI
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user