Pandora: Fixed memory leak in video implementation.

This commit is contained in:
Philipp Wiesemann committed 2016-07-20 21:00:52 +02:00
1 parent 53ac57128b
commit 8d6cbdd235
1 file changed
+2
+2
View File
@@ -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 *