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:
af393dc
)
window.c: Free cursor theme name once we're done with it
author
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 9 Oct 2013 20:02:04 +0000
(13:02 -0700)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 10 Oct 2013 23:50:18 +0000
(16:50 -0700)
clients/window.c
patch
|
blob
|
history
diff --git
a/clients/window.c
b/clients/window.c
index
5b20da5
..
c49e365
100644
(file)
--- a/
clients/window.c
+++ b/
clients/window.c
@@
-1321,6
+1321,7
@@
create_cursors(struct display *display)
weston_config_destroy(config);
display->cursor_theme = wl_cursor_theme_load(theme, size, display->shm);
+ free(theme);
display->cursors =
xmalloc(ARRAY_LENGTH(cursors) * sizeof display->cursors[0]);