Skip to content

Commit

Permalink
KMSDRM: missing return value in VideoInit() (Bug 4530)
Browse files Browse the repository at this point in the history
  • Loading branch information
1bsyl committed Mar 11, 2019
1 parent 3b49ee5 commit 7b27594
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/video/kmsdrm/SDL_kmsdrmvideo.c
Expand Up @@ -511,6 +511,8 @@ KMSDRM_VideoInit(_THIS)

KMSDRM_InitMouse(_this);

return ret;

cleanup:
if (encoder != NULL)
KMSDRM_drmModeFreeEncoder(encoder);
Expand Down

0 comments on commit 7b27594

Please sign in to comment.