From 1fd5a0f9b98a8f31138657c92f8c7b7bae34d13f Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Thu, 10 Sep 2015 13:22:48 -0400 Subject: [PATCH] ecore-wl2: Destroy cursor theme when input is destroyed Signed-off-by: Chris Michael --- src/lib/ecore_wl2/ecore_wl2_input.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/ecore_wl2/ecore_wl2_input.c b/src/lib/ecore_wl2/ecore_wl2_input.c index d32895e565..77d063e3f7 100644 --- a/src/lib/ecore_wl2/ecore_wl2_input.c +++ b/src/lib/ecore_wl2/ecore_wl2_input.c @@ -231,6 +231,7 @@ _ecore_wl2_input_del(Ecore_Wl2_Input *input) if (input->repeat.timer) ecore_timer_del(input->repeat.timer); + if (input->cursor.theme) wl_cursor_theme_destroy(input->cursor.theme); if (input->cursor.surface) wl_surface_destroy(input->cursor.surface); if (input->cursor.name) eina_stringshare_del(input->cursor.name); if (input->cursor.theme_name)