projects
/
platform
/
upstream
/
wayland.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be47969
)
cursor: free the array from which images are linked
author
Emmanuel Gil Peyrot
<linkmauve@linkmauve.fr>
Wed, 18 Mar 2015 00:53:22 +0000
(
01:53
+0100)
committer
Bryce Harrington
<bryce@osg.samsung.com>
Wed, 18 Mar 2015 23:01:19 +0000
(16:01 -0700)
cursor/wayland-cursor.c
patch
|
blob
|
history
diff --git
a/cursor/wayland-cursor.c
b/cursor/wayland-cursor.c
index
1a5393a
..
410a0d4
100644
(file)
--- 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);
}