cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=34c836ec608d66dc0a7df6c2c6b843d60cdc6fa8

commit 34c836ec608d66dc0a7df6c2c6b843d60cdc6fa8
Author: Cedric BAIL <cedric.b...@samsung.com>
Date:   Thu Mar 13 10:34:55 2014 +0900

    evas: the while guarantee that obj will be NULL, so let's not access it.
    
    This will fix CID 1191918.
---
 src/lib/evas/canvas/evas_stack.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/evas/canvas/evas_stack.c b/src/lib/evas/canvas/evas_stack.c
index e018db1..993d90c 100644
--- a/src/lib/evas/canvas/evas_stack.c
+++ b/src/lib/evas/canvas/evas_stack.c
@@ -366,6 +366,6 @@ _evas_object_top_get(Eo *eo_e EINA_UNUSED, Evas_Public_Data 
*e)
         obj = evas_object_below_get_internal(obj);
      }
 
-   return obj->object;
+   return NULL;
 }
 

-- 


Reply via email to