mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-01-22 01:57:18 +01:00
kmsdrm: Fix leaking SDL_VideoDevice*
This commit is contained in:
parent
9dbe5a9686
commit
fca91451ba
@ -74,6 +74,8 @@ KMSDRM_Destroy(SDL_VideoDevice * device)
|
||||
SDL_free(device->driverdata);
|
||||
device->driverdata = NULL;
|
||||
}
|
||||
|
||||
SDL_free(device);
|
||||
SDL_KMSDRM_UnloadSymbols();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user