summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2019-01-02 17:22:08 +0900
committerHermet Park <hermetpark@gmail.com>2019-01-02 17:22:08 +0900
commit408774f4bae6c75124d87a4bccc43d21f4b1f7aa (patch)
tree85f5293c245a61fb25d27fd45fb28b09a1e6c57c
parentabad5cb5c877a04bebbe6ed6e2fb06c7f45ce0b1 (diff)
evas vg: ++safe code.
null argument handling.
-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 fe454be910..50dbaac70a 100644
--- a/src/lib/evas/canvas/efl_canvas_vg_node.c
+++ b/src/lib/evas/canvas/efl_canvas_vg_node.c
@@ -19,7 +19,7 @@ static const Efl_Canvas_Vg_Interpolation interpolation_identity = {
19static void 19static void
20_node_change(Efl_VG *obj, Efl_Canvas_Vg_Node_Data *nd) 20_node_change(Efl_VG *obj, Efl_Canvas_Vg_Node_Data *nd)
21{ 21{
22 if (nd->flags != EFL_GFX_CHANGE_FLAG_NONE) return; 22 if (!nd || nd->flags != EFL_GFX_CHANGE_FLAG_NONE) return;
23 nd->flags = EFL_GFX_CHANGE_FLAG_ALL; 23 nd->flags = EFL_GFX_CHANGE_FLAG_ALL;
24 24
25 Eo *p = obj; 25 Eo *p = obj;