mirror of
https://github.com/encounter/SDL.git
synced 2025-12-09 05:27:48 +00:00
kmsdrm: Fix leaking SDL_VideoDevice*
This commit is contained in:
@@ -74,6 +74,8 @@ KMSDRM_Destroy(SDL_VideoDevice * device)
|
||||
SDL_free(device->driverdata);
|
||||
device->driverdata = NULL;
|
||||
}
|
||||
|
||||
SDL_free(device);
|
||||
SDL_KMSDRM_UnloadSymbols();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user