diff options
author | emersion <contact@emersion.fr> | 2019-01-18 22:52:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-18 22:52:38 +0100 |
commit | 5dde2e794d076cd4ba8cb66849615dcc70f30ea4 (patch) | |
tree | 5eaac4810ad482ee084f6720cf177220451aa1e3 | |
parent | 3e21d0bd4839dc8180c56d426f5b3311fdd2715f (diff) | |
parent | 268cc450b65a2f62e71da80d41ddf64b63760d2d (diff) |
Merge pull request #1478 from Lahvuun/relative_pointer
Fix segfault in get_relative_pointer
-rw-r--r-- | types/wlr_relative_pointer_v1.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/types/wlr_relative_pointer_v1.c b/types/wlr_relative_pointer_v1.c index 99dea6bf..c4690087 100644 --- a/types/wlr_relative_pointer_v1.c +++ b/types/wlr_relative_pointer_v1.c @@ -42,6 +42,7 @@ static void relative_pointer_destroy(struct wlr_relative_pointer_v1 *relative_po wl_list_remove(&relative_pointer->link); wl_list_remove(&relative_pointer->seat_destroy.link); + wl_list_remove(&relative_pointer->pointer_destroy.link); wl_resource_set_user_data(relative_pointer->resource, NULL); free(relative_pointer); |