From 7bfef8a6f55667ebec4cb8f8bd6dea744eca09fa Mon Sep 17 00:00:00 2001 From: kabeer khan Date: Thu, 22 Jan 2015 09:15:07 -0500 Subject: [PATCH] Release list of touch resources when input is shutdown Summary: Resolved TODO to release list of touch resources in e_comp_wl_input_shutdown Signed-off-by: kabeer khan Reviewers: devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1884 --- src/bin/e_comp_wl_input.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/bin/e_comp_wl_input.c b/src/bin/e_comp_wl_input.c index b94848287..1fb3eb688 100644 --- a/src/bin/e_comp_wl_input.c +++ b/src/bin/e_comp_wl_input.c @@ -346,7 +346,9 @@ e_comp_wl_input_shutdown(E_Comp_Data *cdata) EINA_LIST_FREE(cdata->kbd.resources, res) wl_resource_destroy(res); - /* TODO: destroy touch resources */ + /* destroy touch resources */ + EINA_LIST_FREE(cdata->touch.resources, res) + wl_resource_destroy(res); /* destroy cdata->kbd.keys array */ wl_array_release(&cdata->kbd.keys);