commit | b5c973c8c2968f608e79f9d317ba8e2f27ef1e71 | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@bitplanet.net> | Wed Oct 09 13:02:04 2013 -0700 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Thu Oct 10 16:50:18 2013 -0700 |
tree | 610e8df863976ec3053bbdc868ee923ce75f741f | |
parent | af393dcc698bf5a08e00387cb226643a4c4ae005 [diff] [blame] |
window.c: Free cursor theme name once we're done with it
diff --git a/clients/window.c b/clients/window.c index 5b20da5..c49e365 100644 --- a/clients/window.c +++ b/clients/window.c
@@ -1321,6 +1321,7 @@ 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]);