discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=cde012d2a03719d35f1c9283d6185866448b6da8
commit cde012d2a03719d35f1c9283d6185866448b6da8 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 c57e6ef..2e9b418 100644 --- a/src/lib/elm_image.c +++ b/src/lib/elm_image.c @@ -832,6 +832,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 }; @@ -851,7 +852,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); } --
