Fixed memory leak in video quit implementation for Android.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Mon, 26 Jan 2015 22:12:38 +0100
changeset 9317 a8350b28a05c
parent 9316 f4d22285caec
child 9318 3ad27ca380f3
Fixed memory leak in video quit implementation for Android.
src/video/android/SDL_androidvideo.c
--- a/src/video/android/SDL_androidvideo.c	Mon Jan 26 22:02:53 2015 +0100
+++ b/src/video/android/SDL_androidvideo.c	Mon Jan 26 22:12:38 2015 +0100
@@ -86,6 +86,7 @@
 static void
 Android_DeleteDevice(SDL_VideoDevice * device)
 {
+    SDL_free(device->driverdata);
     SDL_free(device);
 }