jpeg pushed a commit to branch master.

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

commit bfe3fe27df9384642d8f3b277ec694c9d42fc0c9
Author: Jean-Philippe Andre <[email protected]>
Date:   Tue Sep 3 15:53:08 2013 +0900

    evas: Fix potential crash after image preload
    
    E17 crashed when running under cserve2.
    Not sure about this commit. Also what about the other functions.
---
 src/lib/evas/canvas/evas_object_inform.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/evas/canvas/evas_object_inform.c 
b/src/lib/evas/canvas/evas_object_inform.c
index c4aa8e1..28ff355 100644
--- a/src/lib/evas/canvas/evas_object_inform.c
+++ b/src/lib/evas/canvas/evas_object_inform.c
@@ -66,6 +66,8 @@ void
 evas_object_inform_call_image_preloaded(Evas_Object *eo_obj)
 {
    Evas_Object_Protected_Data *obj = eo_data_scope_get(eo_obj, EVAS_OBJ_CLASS);
+   EINA_SAFETY_ON_NULL_RETURN(obj);
+
    if (!_evas_object_image_preloading_get(eo_obj)) return;
    _evas_object_image_preloading_check(eo_obj);
    _evas_object_image_preloading_set(eo_obj, 0);

-- 


Reply via email to