From 6c0aea42709231ab9061ec521516276e52257d18 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Thu, 25 May 2017 23:00:58 +0200 Subject: [PATCH] wayland: Fixed freeing memory of SDL_malloc() with plain free(). --- src/video/wayland/SDL_waylandvideo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/wayland/SDL_waylandvideo.c b/src/video/wayland/SDL_waylandvideo.c index 500aa2401b949..0539cf6bcefe5 100644 --- a/src/video/wayland/SDL_waylandvideo.c +++ b/src/video/wayland/SDL_waylandvideo.c @@ -448,7 +448,7 @@ Wayland_VideoQuit(_THIS) } SDL_free(data->classname); - free(data); + SDL_free(data); _this->driverdata = NULL; }