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 | client: Fix typo (diff) | |
| download | wayland-c770b8465851862b293b91d9d115a2cccadb807c.tar wayland-c770b8465851862b293b91d9d115a2cccadb807c.tar.gz wayland-c770b8465851862b293b91d9d115a2cccadb807c.tar.bz2 wayland-c770b8465851862b293b91d9d115a2cccadb807c.tar.lz wayland-c770b8465851862b293b91d9d115a2cccadb807c.tar.xz wayland-c770b8465851862b293b91d9d115a2cccadb807c.tar.zst wayland-c770b8465851862b293b91d9d115a2cccadb807c.zip | |
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); } |
