mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
Fix memory leak in wlr_cursor
This commit is contained in:
parent
2c63aa2056
commit
7dc716a2bb
2 changed files with 13 additions and 12 deletions
|
|
@ -212,6 +212,11 @@ int main(int argc, char *argv[]) {
|
|||
wl_display_run(compositor.display);
|
||||
compositor_fini(&compositor);
|
||||
|
||||
struct sample_cursor *cursor;
|
||||
wl_list_for_each(cursor, &state.cursors, link) {
|
||||
// TODO
|
||||
}
|
||||
|
||||
wlr_xcursor_theme_destroy(theme);
|
||||
example_config_destroy(state.config);
|
||||
wlr_output_layout_destroy(state.layout);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue