mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 12:55:58 +01:00
fix incorrect NULL check
This commit is contained in:
parent
95d05acda5
commit
6946134883
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ static void get_tablet_seat(struct wl_client *wl_client, struct wl_resource *res
|
|||
|
||||
struct wlr_tablet_seat_client_v2 *seat_client =
|
||||
calloc(1, sizeof(struct wlr_tablet_seat_client_v2));
|
||||
if (tablet_seat == NULL) {
|
||||
if (seat_client == NULL) {
|
||||
wl_client_post_no_memory(wl_client);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue