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 <kabeer.khan@samsung.com>

Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1884
This commit is contained in:
kabeer khan 2015-01-22 09:15:07 -05:00 committed by Chris Michael
parent 0d82fcf71c
commit 7bfef8a6f5
1 changed files with 3 additions and 1 deletions

View File

@ -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);