From 17823d21ea6bb9dcadafa95b2d18557200beb8a2 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Sun, 26 Jul 2015 03:02:06 +0900 Subject: [PATCH] evas - image data unload - try plug another possible crash path i am not sure if this is the odd crash i am seeing, but in theory it could be. as these crashes are rare it's hard to find and gdb is "too late" other than telling me the image is freed already by the time we do an unload. --- src/lib/evas/common/evas_image_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/evas/common/evas_image_main.c b/src/lib/evas/common/evas_image_main.c index 3b852cc8a0..cf38e1dade 100644 --- a/src/lib/evas/common/evas_image_main.c +++ b/src/lib/evas/common/evas_image_main.c @@ -462,7 +462,7 @@ evas_common_rgba_image_unload(Image_Entry *ie) } return; } - evas_common_rgba_image_unload_real(ie); + if (!ie->need_unload) evas_common_rgba_image_unload_real(ie); } void