Skip to content

Commit

Permalink
Pandora: Fixed memory leak in video implementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Jul 20, 2016
1 parent 53ac571 commit 8d6cbdd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/video/pandora/SDL_pandora.c
Expand Up @@ -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 *
Expand Down

0 comments on commit 8d6cbdd

Please sign in to comment.