Pandora: Fixed memory leak in video implementation.
diff --git a/src/video/pandora/SDL_pandora.c b/src/video/pandora/SDL_pandora.c
index 4bfaa23..7afa543 100644
--- a/src/video/pandora/SDL_pandora.c
+++ b/src/video/pandora/SDL_pandora.c
@@ -51,8 +51,10 @@ static void
PND_destroy(SDL_VideoDevice * device)
{
if (device->driverdata != NULL) {
+ SDL_free(device->driverdata);
device->driverdata = NULL;
}
+ SDL_free(device);
}
static SDL_VideoDevice *