mirror of
https://github.com/swaywm/sway.git
synced 2025-11-15 06:59:50 -05:00
cleanup
This commit is contained in:
parent
a4c1270ef0
commit
63f7fb9517
3 changed files with 9 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue