discomfitor pushed a commit to branch enlightenment-0.20.

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

commit e0e7af80bb748a23b8cffbedd8f1311f8c320f40
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Mon Dec 7 19:42:28 2015 +0900

    e zone - handle null e_comp if comp is already shut down
    
    this came from backlight shutdown that got current zone... and getting
    zone relied on e_comp being valid.
    
    @fix
---
 src/bin/e_zone.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/e_zone.c b/src/bin/e_zone.c
index 00600e6..4f19d63 100644
--- a/src/bin/e_zone.c
+++ b/src/bin/e_zone.c
@@ -400,6 +400,7 @@ e_zone_current_get(void)
    Eina_List *l = NULL;
    E_Zone *zone;
 
+   if (!e_comp) return NULL;
    if (!starting)
      {
         int x, y;

-- 


Reply via email to