Skip to content

Commit

Permalink
wayland: Fixed freeing memory of SDL_malloc() with plain free().
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed May 25, 2017
1 parent c66f047 commit 6c0aea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/wayland/SDL_waylandvideo.c
Expand Up @@ -448,7 +448,7 @@ Wayland_VideoQuit(_THIS)
}

SDL_free(data->classname);
free(data);
SDL_free(data);
_this->driverdata = NULL;
}

Expand Down

0 comments on commit 6c0aea4

Please sign in to comment.