diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2015-03-18 01:53:22 +0100 |
---|---|---|
committer | Bryce Harrington <bryce@osg.samsung.com> | 2015-03-18 16:01:19 -0700 |
commit | c770b8465851862b293b91d9d115a2cccadb807c (patch) | |
tree | 686df7afd647cdfc81baa1cfed22beee088b0aa0 /cursor | |
parent | be47969a38d66e125b7f13b9a9b44e447219a00a (diff) |
cursor: free the array from which images are linked
Diffstat (limited to 'cursor')
-rw-r--r-- | cursor/wayland-cursor.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cursor/wayland-cursor.c b/cursor/wayland-cursor.c index 1a5393a..410a0d4 100644 --- a/cursor/wayland-cursor.c +++ b/cursor/wayland-cursor.c @@ -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); } |