summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-03-22 09:50:57 -0400
committerCedric BAIL <cedric.bail@free.fr>2019-03-22 14:11:54 -0700
commite6d8ac512d2117d585c6e5705983ffb8c39758fb (patch)
treec877840e7ea74c829eb748a59e3377ddb8fe6d83
parent0d63743be9041c93c907eae9480beedeede83d72 (diff)
evas_clip: check for object validity before adding fallback damage rect
this path should not be triggered for objects which are being deleted, which was the case in all of the referenced bug reportst fix T4904, T7100, T7421 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8445
-rw-r--r--src/lib/evas/canvas/evas_clip.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_clip.c b/src/lib/evas/canvas/evas_clip.c
index 3678d4aa82..809c24f72a 100644
--- a/src/lib/evas/canvas/evas_clip.c
+++ b/src/lib/evas/canvas/evas_clip.c
@@ -289,7 +289,8 @@ _efl_canvas_object_clipper_unset_common(Evas_Object_Protected_Data *obj, Eina_Bo
289 if (((clip->cur) && (clip->cur->visible)) && 289 if (((clip->cur) && (clip->cur->visible)) &&
290 (((clip->cur->color.r != 255) || (clip->cur->color.g != 255) || 290 (((clip->cur->color.r != 255) || (clip->cur->color.g != 255) ||
291 (clip->cur->color.b != 255) || (clip->cur->color.a != 255)) || 291 (clip->cur->color.b != 255) || (clip->cur->color.a != 255)) ||
292 (clip->mask->is_mask))) 292 (clip->mask->is_mask)) &&
293 efl_alive_get(clip->object))
293 { 294 {
294 if (clip->layer) 295 if (clip->layer)
295 { 296 {