discomfitor pushed a commit to branch elementary-1.11. http://git.enlightenment.org/core/elementary.git/commit/?id=4e9bde716e49ecae35eae89d4cf15a54a5ece95f
commit 4e9bde716e49ecae35eae89d4cf15a54a5ece95f Author: Mike Blumenkrantz <[email protected]> Date: Thu Oct 9 16:51:42 2014 -0400 elm_image no longer crashes when deleting the image from a download callback --- src/lib/elm_image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elm_image.c b/src/lib/elm_image.c index eb0ac6a..c3220b7 100644 --- a/src/lib/elm_image.c +++ b/src/lib/elm_image.c @@ -827,6 +827,7 @@ _elm_image_smart_download_done(void *data, Elm_Url *url EINA_UNUSED, Eina_Binbuf _elm_image_smart_internal_file_set(obj, sd, _elm_url_get(url), f, sd->key, &ret); eina_file_close(f); + sd->remote = NULL; if (!ret) { Elm_Image_Error err = { 0, EINA_TRUE }; @@ -846,7 +847,6 @@ _elm_image_smart_download_done(void *data, Elm_Url *url EINA_UNUSED, Eina_Binbuf evas_object_smart_callback_call(obj, SIG_DOWNLOAD_DONE, NULL); } - sd->remote = NULL; ELM_SAFE_FREE(sd->key, eina_stringshare_del); } --
