commit | a261f7e6dc1029ce96b6ab3b7dadf8f88d4d9936 | [log] [tgz] |
---|---|---|
author | Yan Wang <yan.wang@linux.intel.com> | Mon May 28 14:07:25 2012 +0800 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Tue May 29 09:53:42 2012 -0400 |
tree | af8db4e17a2ec65d80c0de1e4d4f0fff32e85db3 | |
parent | 92a57db6f2fb54d70e5da00aaabc6af752ee07a2 [diff] [blame] |
Weston: Free allocated cursors array when destroying This array is allocated in create_cursors(). It should be freed in destroy_cursors().
diff --git a/clients/window.c b/clients/window.c index bab5d76..0c6f556 100644 --- a/clients/window.c +++ b/clients/window.c
@@ -661,6 +661,7 @@ destroy_cursors(struct display *display) { wl_cursor_theme_destroy(display->cursor_theme); + free(display->cursors); } struct wl_cursor_image *