Browse Source

Fixed memory leak in video quit implementation for Android.

Philipp Wiesemann 10 years ago
parent
commit
f64e6742bc
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/video/android/SDL_androidvideo.c

+ 1 - 0
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);
 }