kmsdrm: Fix leaking SDL_VideoDevice*

Brandon Schaefer 2017-08-02 13:51:14 -07:00
parent 9dbe5a9686
commit fca91451ba
1 changed files with 2 additions and 0 deletions

View File

@ -74,6 +74,8 @@ KMSDRM_Destroy(SDL_VideoDevice * device)
SDL_free(device->driverdata);
device->driverdata = NULL;
}
SDL_free(device);
SDL_KMSDRM_UnloadSymbols();
}