summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2020-03-27 18:11:07 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2020-03-31 14:56:38 +0200
commit830d45e384b79690a27486c28822431efd6d09e2 (patch)
treef28d8ca13d519cb549f102d43c864dbaaa40499d
parent2f9caff972a7fe2890a254feb1d8a86946e7e131 (diff)
exactness: do not efl_del the evas
there is no need to do that, more than that. This is super dangerous, the display and connection ptr of x are passed from ecore_evas to evas, if you delete evas before ecore_evas, the later ecore_evas deletion will destroy the x connection which calls some functions in evas, which is already freed, which leads to a crash. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11617
-rw-r--r--src/bin/exactness/exactness.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/bin/exactness/exactness.c b/src/bin/exactness/exactness.c
index 3a9b8cde5c..79fefa8330 100644
--- a/src/bin/exactness/exactness.c
+++ b/src/bin/exactness/exactness.c
@@ -151,7 +151,6 @@ _exu_imgs_unpack(const char *exu_path, const char *dir, const char *ent_name)
151 } 151 }
152 efl_del(o); 152 efl_del(o);
153 } 153 }
154 efl_del(e);
155 ecore_evas_free(ee); 154 ecore_evas_free(ee);
156} 155}
157 156