aboutsummaryrefslogtreecommitdiffstats
path: root/cursor
diff options
context:
space:
mode:
authorU. Artie Eoff <ullysses.a.eoff@intel.com>2014-01-10 13:49:44 -0800
committerKristian Høgsberg <krh@bitplanet.net>2014-01-15 10:46:09 -0800
commit7d96da1e651a046e8f688da1aebf45e52aed9096 (patch)
treefbca46c0c78078d7aa7a0be5bacaa28f7fd204c6 /cursor
parentresources-test: assert non-NULL return values (diff)
downloadwayland-7d96da1e651a046e8f688da1aebf45e52aed9096.tar
wayland-7d96da1e651a046e8f688da1aebf45e52aed9096.tar.gz
wayland-7d96da1e651a046e8f688da1aebf45e52aed9096.tar.bz2
wayland-7d96da1e651a046e8f688da1aebf45e52aed9096.tar.lz
wayland-7d96da1e651a046e8f688da1aebf45e52aed9096.tar.xz
wayland-7d96da1e651a046e8f688da1aebf45e52aed9096.tar.zst
wayland-7d96da1e651a046e8f688da1aebf45e52aed9096.zip
cursor: free theme->name too
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
Diffstat (limited to 'cursor')
-rw-r--r--cursor/wayland-cursor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cursor/wayland-cursor.c b/cursor/wayland-cursor.c
index 3dadbdd..e41b00f 100644
--- a/cursor/wayland-cursor.c
+++ b/cursor/wayland-cursor.c
@@ -413,6 +413,7 @@ wl_cursor_theme_destroy(struct wl_cursor_theme *theme)
shm_pool_destroy(theme->pool);
+ free(theme->name);
free(theme->cursors);
free(theme);
}