Commit f64e6742bc1999c83f00fb5d5cf031c8792f56a8

Philipp Wiesemann 2015-01-26T22:12:38

Fixed memory leak in video quit implementation for Android.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/video/android/SDL_androidvideo.c b/src/video/android/SDL_androidvideo.c
index ed3d3b3..5e03461 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);
 }