mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-04-12 10:42:01 +02:00
Fixed memory leak in video quit implementation for Android.
This commit is contained in:
parent
60f50c70a7
commit
f64e6742bc
@ -86,6 +86,7 @@ Android_SuspendScreenSaver(_THIS)
|
|||||||
static void
|
static void
|
||||||
Android_DeleteDevice(SDL_VideoDevice * device)
|
Android_DeleteDevice(SDL_VideoDevice * device)
|
||||||
{
|
{
|
||||||
|
SDL_free(device->driverdata);
|
||||||
SDL_free(device);
|
SDL_free(device);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user