evas/canvas: Null check for base class data pointer.
authorSubhransu Mohanty <sub.mohanty@samsung.com>
Fri, 8 May 2015 11:32:40 +0000 (20:32 +0900)
committerChunEon Park <chuneon.park@samsung.com>
Fri, 8 May 2015 11:40:28 +0000 (20:40 +0900)
src/lib/evas/canvas/evas_object_vg.c

index 57d4090..cca772a 100644 (file)
@@ -226,6 +226,10 @@ evas_object_vg_render_pre(Evas_Object *eo_obj,
    // FIXME: for now the walking Evas_VG_Node tree doesn't trigger any damage
    // So just forcing it here if necessary
    rnd = eo_data_scope_get(vd->root, EFL_VG_BASE_CLASS);
+
+   //FIXME find the reason for NULL Base Class in some case?
+   if (!rnd) return;
+
    if (rnd->changed)
      {
         rnd->changed = EINA_FALSE;