mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-08 10:08:00 +02:00
Weston: Free allocated cursors array when destroying
This array is allocated in create_cursors(). It should be freed in destroy_cursors().
This commit is contained in:
parent
92a57db6f2
commit
a261f7e6dc
1 changed files with 1 additions and 0 deletions
|
|
@ -661,6 +661,7 @@ static void
|
|||
destroy_cursors(struct display *display)
|
||||
{
|
||||
wl_cursor_theme_destroy(display->cursor_theme);
|
||||
free(display->cursors);
|
||||
}
|
||||
|
||||
struct wl_cursor_image *
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue