mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-18 06:59:44 -05:00
Remove ping_timer when destroying wlr_wl_shell_surface
This commit is contained in:
parent
9d405cffa7
commit
55d2462180
2 changed files with 2 additions and 1 deletions
|
|
@ -262,6 +262,7 @@ static void wl_shell_surface_destroy(struct wlr_wl_shell_surface *surface) {
|
|||
wl_resource_set_user_data(surface->resource, NULL);
|
||||
wl_list_remove(&surface->link);
|
||||
wl_list_remove(&surface->surface_destroy_listener.link);
|
||||
wl_event_source_remove(surface->ping_timer);
|
||||
free(surface->transient_state);
|
||||
free(surface->popup_state);
|
||||
free(surface->title);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue