Skip to content
Permalink
Browse files

kmsdrm: Fix leaking SDL_VideoDevice*

  • Loading branch information
BrandonSchaefer committed Aug 2, 2017
1 parent 9dbe5a9 commit fca91451ba49f2d6f026ee3bc69523d3ffc9c199
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/video/kmsdrm/SDL_kmsdrmvideo.c
@@ -74,6 +74,8 @@ KMSDRM_Destroy(SDL_VideoDevice * device)
SDL_free(device->driverdata);
device->driverdata = NULL;
}

SDL_free(device);
SDL_KMSDRM_UnloadSymbols();
}

0 comments on commit fca9145

Please sign in to comment.