Browse Source

wayland: Fixed freeing memory of SDL_malloc() with plain free().

Philipp Wiesemann 8 years ago
parent
commit
6c0aea4270
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/video/wayland/SDL_waylandvideo.c

+ 1 - 1
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;
 }