mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 21:05:58 +01:00
Release pointers in examples/multi-pointer
This commit is contained in:
parent
de16defb21
commit
6af77e3d9e
1 changed files with 5 additions and 0 deletions
|
@ -330,6 +330,11 @@ int main(int argc, char *argv[]) {
|
||||||
cursor_destroy(cursor);
|
cursor_destroy(cursor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
struct sample_pointer *pointer, *tmp_pointer;
|
||||||
|
wl_list_for_each_safe(pointer, tmp_pointer, &state.pointers, link) {
|
||||||
|
free(pointer);
|
||||||
|
}
|
||||||
|
|
||||||
wlr_xcursor_theme_destroy(theme);
|
wlr_xcursor_theme_destroy(theme);
|
||||||
wlr_output_layout_destroy(state.layout);
|
wlr_output_layout_destroy(state.layout);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue