mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-13 05:16:01 +00:00
Fixed memory leak in video quit implementation for Android.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user