exactness: do not efl_del the evas
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Fri, 27 Mar 2020 17:11:07 +0000 (18:11 +0100)
committerJongmin Lee <jm105.lee@samsung.com>
Tue, 31 Mar 2020 21:26:24 +0000 (06:26 +0900)
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

src/bin/exactness/exactness.c

index 3a9b8cd..79fefa8 100644 (file)
@@ -151,7 +151,6 @@ _exu_imgs_unpack(const char *exu_path, const char *dir, const char *ent_name)
           }
         efl_del(o);
      }
-   efl_del(e);
    ecore_evas_free(ee);
 }