wayland: Fixed freeing memory of SDL_malloc() with plain free().
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Thu, 25 May 2017 23:00:58 +0200
changeset 1103006a801c7a54f
parent 11029 938d2ced5244
child 11031 b1475dc05bd0
wayland: Fixed freeing memory of SDL_malloc() with plain free().
src/video/wayland/SDL_waylandvideo.c
     1.1 --- a/src/video/wayland/SDL_waylandvideo.c	Thu May 25 23:00:43 2017 +0200
     1.2 +++ b/src/video/wayland/SDL_waylandvideo.c	Thu May 25 23:00:58 2017 +0200
     1.3 @@ -448,7 +448,7 @@
     1.4      }
     1.5  
     1.6      SDL_free(data->classname);
     1.7 -    free(data);
     1.8 +    SDL_free(data);
     1.9      _this->driverdata = NULL;
    1.10  }
    1.11