This commit is contained in:
Tony Crisci 2017-12-20 06:12:08 -05:00
parent a4c1270ef0
commit 63f7fb9517
3 changed files with 9 additions and 4 deletions

View file

@ -30,6 +30,7 @@ struct sway_seat *sway_seat_create(struct sway_input_manager *input,
seat->wlr_seat = wlr_seat_create(input->server->wl_display, seat_name);
if (!sway_assert(seat->wlr_seat, "could not allocate seat")) {
free(seat);
return NULL;
}