src/video/wayland/SDL_waylandmouse.c
changeset 10120 f49e8a97c214
parent 10114 6740b15172f0
child 10130 eba8155e32b1
     1.1 --- a/src/video/wayland/SDL_waylandmouse.c	Wed Mar 16 22:09:23 2016 +0100
     1.2 +++ b/src/video/wayland/SDL_waylandmouse.c	Wed Mar 16 22:09:39 2016 +0100
     1.3 @@ -130,6 +130,7 @@
     1.4          d->shm_data = NULL;
     1.5          fprintf (stderr, "mmap () failed\n");
     1.6          close (shm_fd);
     1.7 +        return -1;
     1.8      }
     1.9  
    1.10      shm_pool = wl_shm_create_pool(data->shm, shm_fd, size);