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

Sylvain Becker 2019-03-11 15:27:42 +01:00
parent 3b49ee5261
commit 7b27594274
1 changed files with 2 additions and 0 deletions

View File

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