From f64e6742bc1999c83f00fb5d5cf031c8792f56a8 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Mon, 26 Jan 2015 22:12:38 +0100 Subject: [PATCH] Fixed memory leak in video quit implementation for Android. --- src/video/android/SDL_androidvideo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/video/android/SDL_androidvideo.c b/src/video/android/SDL_androidvideo.c index ed3d3b323..5e034615b 100644 --- a/src/video/android/SDL_androidvideo.c +++ b/src/video/android/SDL_androidvideo.c @@ -86,6 +86,7 @@ Android_SuspendScreenSaver(_THIS) static void Android_DeleteDevice(SDL_VideoDevice * device) { + SDL_free(device->driverdata); SDL_free(device); }