Skip to content

Commit

Permalink
wayland: fixed memory leak at shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Nov 3, 2024
1 parent cacfdc8 commit 8026866
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/video/wayland/SDL_waylandevents.c
Original file line number Diff line number Diff line change
Expand Up @@ -2864,6 +2864,8 @@ void Wayland_input_init_tablet_support(struct SDL_WaylandInput *input, struct zw
tablet_input->seat = zwp_tablet_manager_v2_get_tablet_seat(tablet_manager, input->seat);

zwp_tablet_seat_v2_add_listener(tablet_input->seat, &tablet_seat_listener, tablet_input);

input->tablet_input = tablet_input;
}

static void Wayland_remove_all_pens_callback(SDL_PenID instance_id, void *handle, void *userdata)
Expand Down

0 comments on commit 8026866

Please sign in to comment.