forked from enlightenment/efl
disable cedric leakage causes in edje mmap file set. :)
This commit is contained in:
parent
d3292a7ae9
commit
eac7636a1e
|
@ -460,7 +460,9 @@ _edje_real_part_image_set(Edje *ed, Edje_Real_Part *ep, FLOAT_T pos)
|
||||||
/* Replace snprint("edje/images/%i") == memcpy + itoa */
|
/* Replace snprint("edje/images/%i") == memcpy + itoa */
|
||||||
eina_convert_itoa(image_id, buf + 12); /* No need to check length as 2³² need only 10 characteres. */
|
eina_convert_itoa(image_id, buf + 12); /* No need to check length as 2³² need only 10 characteres. */
|
||||||
|
|
||||||
evas_object_image_mmap_set(ep->object, ed->file->f, buf);
|
evas_object_image_file_set(ep->object, ed->file->path, buf);
|
||||||
|
// until leak found.. disable this as it causes much leakage. thanks cedric!
|
||||||
|
// evas_object_image_mmap_set(ep->object, ed->file->f, buf);
|
||||||
if (evas_object_image_load_error_get(ep->object) != EVAS_LOAD_ERROR_NONE)
|
if (evas_object_image_load_error_get(ep->object) != EVAS_LOAD_ERROR_NONE)
|
||||||
{
|
{
|
||||||
ERR("Error loading image collection \"%s\" from "
|
ERR("Error loading image collection \"%s\" from "
|
||||||
|
|
Loading…
Reference in New Issue