devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=7bfef8a6f55667ebec4cb8f8bd6dea744eca09fa

commit 7bfef8a6f55667ebec4cb8f8bd6dea744eca09fa
Author: kabeer khan <[email protected]>
Date:   Thu Jan 22 09:15:07 2015 -0500

    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 <[email protected]>
    
    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 b948482..1fb3eb6 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);

-- 


Reply via email to