discomfitor pushed a commit to branch enlightenment-0.19.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=ba267da5be345d315e660d1a5dc786ccfea3a344

commit ba267da5be345d315e660d1a5dc786ccfea3a344
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Mon Sep 28 16:49:53 2015 +0900

    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 3f6be9f..6e1635f 100644
--- a/src/bin/e_fm.c
+++ b/src/bin/e_fm.c
@@ -5176,10 +5176,8 @@ _e_fm2_cb_eio_stat(void *data, Eio_File *handler 
__UNUSED__, const Eina_Stat *st
 }
 
 static void
-_e_fm2_cb_eio_err(void *data, Eio_File *handler __UNUSED__, int error 
__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

-- 


Reply via email to