Fixed memory leak in video quit implementation for Android.
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