devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=9a9d120c4428a88bac9cfc1028bb374dddb828c9

commit 9a9d120c4428a88bac9cfc1028bb374dddb828c9
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Thu Oct 1 11:58:50 2015 -0400

    ecore-wl2: Cleanup inputs on display disconnect/destroy
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/lib/ecore_wl2/ecore_wl2_display.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/lib/ecore_wl2/ecore_wl2_display.c 
b/src/lib/ecore_wl2/ecore_wl2_display.c
index 0c5984c..f8dcdfd 100644
--- a/src/lib/ecore_wl2/ecore_wl2_display.c
+++ b/src/lib/ecore_wl2/ecore_wl2_display.c
@@ -251,8 +251,13 @@ static void
 _ecore_wl2_display_cleanup(Ecore_Wl2_Display *ewd)
 {
    Ecore_Wl2_Output *output;
+   Ecore_Wl2_Input *input;
    Eina_Inlist *tmp;
 
+   /* free each input */
+   EINA_INLIST_FOREACH_SAFE(ewd->inputs, tmp, input)
+     _ecore_wl2_input_del(input);
+
    /* free each output */
    EINA_INLIST_FOREACH_SAFE(ewd->outputs, tmp, output)
      _ecore_wl2_output_del(output);

-- 


Reply via email to