devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=7552bccc350e97ae52452bb13fd6abd20c35a520

commit 7552bccc350e97ae52452bb13fd6abd20c35a520
Author: Chris Michael <[email protected]>
Date:   Wed Dec 10 10:00:13 2014 -0500

    ecore-drm: Fix usage of EINA_LIST_FREE
    
    Summary: When we exit the backlight_init function, we should
    stringshare_del the returned device strings from eeze properly
    
    @fix
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/lib/ecore_drm/ecore_drm_output.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/ecore_drm/ecore_drm_output.c 
b/src/lib/ecore_drm/ecore_drm_output.c
index 6be4edf..0a707a2 100644
--- a/src/lib/ecore_drm/ecore_drm_output.c
+++ b/src/lib/ecore_drm/ecore_drm_output.c
@@ -270,8 +270,8 @@ cont:
      }
 
 out:
-   EINA_LIST_FREE(devs, device);
-   eina_stringshare_del(device);
+   EINA_LIST_FREE(devs, device)
+     eina_stringshare_del(device);
 
    return backlight;
 }

-- 


Reply via email to