KMSDRM: missing return value in VideoInit() (Bug 4530)

This commit is contained in:
Sylvain Becker 2019-03-11 15:27:42 +01:00
parent ac5db2a7bd
commit ae05c2a19a

View file

@ -511,6 +511,8 @@ KMSDRM_VideoInit(_THIS)
KMSDRM_InitMouse(_this); KMSDRM_InitMouse(_this);
return ret;
cleanup: cleanup:
if (encoder != NULL) if (encoder != NULL)
KMSDRM_drmModeFreeEncoder(encoder); KMSDRM_drmModeFreeEncoder(encoder);