From d0de6eb4fad9a2561ab58c91e6a4d1f5c4188db3 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Mon, 28 Sep 2015 16:49:53 +0900 Subject: [PATCH] e - efm fix. fix eio error handler that is called after eio cancel so you have to have an error cb - so make it empty as even after a canel, it is called, and thus accesses an invalid icon we've freed. --- src/bin/e_fm.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c index 8cf276b22..e7661a0f0 100644 --- a/src/bin/e_fm.c +++ b/src/bin/e_fm.c @@ -5199,10 +5199,8 @@ _e_fm2_cb_eio_stat(void *data, Eio_File *handler EINA_UNUSED, const Eina_Stat *s } static void -_e_fm2_cb_eio_err(void *data, Eio_File *handler EINA_UNUSED, int error EINA_UNUSED) +_e_fm2_cb_eio_err(void *data EINA_UNUSED, Eio_File *handler EINA_UNUSED, int error EINA_UNUSED) { - E_Fm2_Icon *ic = data; - ic->eio = NULL; } static int