Skip to content

Commit

Permalink
kmsdrm: Fix leaking SDL_VideoDevice*
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonSchaefer committed Aug 2, 2017
1 parent 9dbe5a9 commit fca9145
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/video/kmsdrm/SDL_kmsdrmvideo.c
Expand Up @@ -74,6 +74,8 @@ KMSDRM_Destroy(SDL_VideoDevice * device)
SDL_free(device->driverdata);
device->driverdata = NULL;
}

SDL_free(device);
SDL_KMSDRM_UnloadSymbols();
}

Expand Down

0 comments on commit fca9145

Please sign in to comment.