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

This commit is contained in:
Sylvain Becker 2019-03-11 15:27:42 +01:00
parent 3b49ee5261
commit 7b27594274

View file

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