mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
cursor: free the array from which images are linked
This commit is contained in:
parent
be47969a38
commit
c770b84658
1 changed files with 1 additions and 0 deletions
|
|
@ -190,6 +190,7 @@ wl_cursor_destroy(struct wl_cursor *cursor)
|
|||
for (i = 0; i < cursor->image_count; i++)
|
||||
wl_cursor_image_destroy(cursor->images[i]);
|
||||
|
||||
free(cursor->images);
|
||||
free(cursor->name);
|
||||
free(cursor);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue