efm - handle cancel of async eio if icon is freed and eio still active

@fix
This commit is contained in:
Carsten Haitzler 2015-09-28 16:29:12 +09:00 committed by Mike Blumenkrantz
parent 6be7068674
commit 2fcfb36480
1 changed files with 5 additions and 0 deletions

View File

@ -4774,6 +4774,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)
{