projects
/
profile
/
ivi
/
weston-ivi-shell.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a08d11
)
compositor-wayland: free 'theme' config option value
author
U. Artie Eoff
<ullysses.a.eoff@intel.com>
Fri, 17 Jan 2014 20:36:58 +0000
(12:36 -0800)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Mon, 20 Jan 2014 06:07:33 +0000
(22:07 -0800)
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
src/compositor-wayland.c
patch
|
blob
|
history
diff --git
a/src/compositor-wayland.c
b/src/compositor-wayland.c
index
8ddc8bc
..
899c329
100644
(file)
--- a/
src/compositor-wayland.c
+++ b/
src/compositor-wayland.c
@@
-1427,6
+1427,8
@@
create_cursor(struct wayland_compositor *c, struct weston_config *config)
c->cursor_theme = wl_cursor_theme_load(theme, size, c->parent.shm);
+ free(theme);
+
c->cursor = NULL;
for (i = 0; !c->cursor && i < ARRAY_LENGTH(left_ptrs); ++i)
c->cursor = wl_cursor_theme_get_cursor(c->cursor_theme,