Fixed memory leak in video quit implementation for Android.

This commit is contained in:
Philipp Wiesemann 2015-01-26 22:12:38 +01:00
parent 60f50c70a7
commit f64e6742bc
1 changed files with 1 additions and 0 deletions

View File

@ -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);
} }