summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunsuChoi <jsuya.choi@samsung.com>2019-11-14 11:25:52 +0900
committerJunsuChoi <jsuya.choi@samsung.com>2019-11-14 11:25:53 +0900
commit288218527d494e1ca3146b0321b0967842fecae6 (patch)
tree8b734f22eb89cbf70a51c8d2ef40d0003ba6eb73
parent6befb6e17bf4afb3c5b650be3b5238029253bce6 (diff)
efl_canvas_vg_node: Prevent access to NULL object for remove warning
Summary: For remove this warning WRN<3378>:eo ../src/lib/eo/eo.c:644 _efl_object_call_resolve() NULL passed to function efl_invalidated_get(). Test Plan: elementary_test -> animation_view Reviewers: Hermet, kimcinoo, smohanty Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10627
-rw-r--r--src/lib/evas/canvas/efl_canvas_vg_node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_vg_node.c b/src/lib/evas/canvas/efl_canvas_vg_node.c
index 5064407..72d0265 100644
--- a/src/lib/evas/canvas/efl_canvas_vg_node.c
+++ b/src/lib/evas/canvas/efl_canvas_vg_node.c
@@ -30,7 +30,7 @@ _node_change(Efl_VG *obj, Efl_Canvas_Vg_Node_Data *nd)
30 if (pnd->flags != EFL_GFX_CHANGE_FLAG_NONE) break; 30 if (pnd->flags != EFL_GFX_CHANGE_FLAG_NONE) break;
31 pnd->flags = EFL_GFX_CHANGE_FLAG_ALL; 31 pnd->flags = EFL_GFX_CHANGE_FLAG_ALL;
32 } 32 }
33 if (efl_invalidated_get(nd->vg_obj)) return; 33 if (!nd->vg_obj || efl_invalidated_get(nd->vg_obj)) return;
34 efl_canvas_vg_object_change(nd->vd); 34 efl_canvas_vg_object_change(nd->vd);
35} 35}
36 36