src/video/wayland/SDL_waylandvideo.c
changeset 10618 01ff51434145
parent 10583 974f8ebcb819
child 10737 3406a0f8b041
     1.1 --- a/src/video/wayland/SDL_waylandvideo.c	Wed Nov 16 22:08:51 2016 +0100
     1.2 +++ b/src/video/wayland/SDL_waylandvideo.c	Wed Nov 16 22:09:40 2016 +0100
     1.3 @@ -271,6 +271,7 @@
     1.4      output = wl_registry_bind(d->registry, id, &wl_output_interface, 2);
     1.5      if (!output) {
     1.6          SDL_SetError("Failed to retrieve output.");
     1.7 +        SDL_free(display);
     1.8          return;
     1.9      }
    1.10