aboutsummaryrefslogtreecommitdiffstats
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
parentecore: fix build by having proper parameters order. (diff)
downloadefl-408774f4bae6c75124d87a4bccc43d21f4b1f7aa.tar.gz
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 = {
static void
_node_change(Efl_VG *obj, Efl_Canvas_Vg_Node_Data *nd)
{
- if (nd->flags != EFL_GFX_CHANGE_FLAG_NONE) return;
+ if (!nd || nd->flags != EFL_GFX_CHANGE_FLAG_NONE) return;
nd->flags = EFL_GFX_CHANGE_FLAG_ALL;
Eo *p = obj;