From: Carsten Haitzler (Rasterman) Date: Mon, 28 Sep 2015 07:29:12 +0000 (+0900) Subject: efm - handle cancel of async eio if icon is freed and eio still active X-Git-Tag: upstream/0.20.0~228 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f468361817fdb5ad06de4dc294b20510001f38aa;p=platform%2Fupstream%2Fenlightenment.git efm - handle cancel of async eio if icon is freed and eio still active @fix --- diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c index 45f409b..8cf276b 100644 --- a/src/bin/e_fm.c +++ b/src/bin/e_fm.c @@ -4797,6 +4797,11 @@ _e_fm2_icon_free(E_Fm2_Icon *ic) { if (ic->queued) abort(); if (ic->inserted) abort(); + if (ic->eio) + { + eio_file_cancel(ic->eio); + ic->eio = NULL; + } /* free icon, object data etc. etc. */ if (ic->sd->last_placed == ic) {