From: Hermet Park Date: Tue, 17 Aug 2021 04:45:20 +0000 (+0900) Subject: evas render: add a null check for ++safety X-Git-Tag: accepted/tizen/unified/20210822.213311~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ee1657836e55d0ee04159ab4d5085bece1b07791;p=platform%2Fupstream%2Fefl.git evas render: add a null check for ++safety Change-Id: I202333d0ab79ad439b7c70fdacbda2041d015840 --- diff --git a/src/lib/evas/canvas/evas_render.c b/src/lib/evas/canvas/evas_render.c index 2d31ce0..fb60aad 100644 --- a/src/lib/evas/canvas/evas_render.c +++ b/src/lib/evas/canvas/evas_render.c @@ -491,7 +491,7 @@ _evas_render_phase1_direct(Evas_Public_Data *e, evas_object_clip_recalc(obj); obj->func->render_pre(eo_obj, obj, obj->private_data); - if (obj->proxy->redraw || obj->mask->redraw) + if (obj->proxy->redraw || (obj->mask && obj->mask->redraw)) _evas_render_prev_cur_clip_cache_add(e, obj); if (!obj->smart.smart || evas_object_smart_changed_get(obj))