summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@samsung.com>2013-06-25 11:44:38 +0900
committerCedric Bail <cedric.bail@samsung.com>2013-06-25 11:45:42 +0900
commit1043bb0f470608db2a156de4a93af336752f1b08 (patch)
tree987d39f1dcf18b2f5ae8ce862ab544a1f2263457
parent406cdbd686cfcedea26c0aa1bee876c95af666ec (diff)
edje: leak is gone, so use it again.
-rw-r--r--src/lib/edje/edje_calc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/edje/edje_calc.c b/src/lib/edje/edje_calc.c
index d0309d7da0..bb99b1cad7 100644
--- a/src/lib/edje/edje_calc.c
+++ b/src/lib/edje/edje_calc.c
@@ -460,9 +460,7 @@ _edje_real_part_image_set(Edje *ed, Edje_Real_Part *ep, FLOAT_T pos)
460 /* Replace snprint("edje/images/%i") == memcpy + itoa */ 460 /* Replace snprint("edje/images/%i") == memcpy + itoa */
461 eina_convert_itoa(image_id, buf + 12); /* No need to check length as 2³² need only 10 characteres. */ 461 eina_convert_itoa(image_id, buf + 12); /* No need to check length as 2³² need only 10 characteres. */
462 462
463 evas_object_image_file_set(ep->object, ed->file->path, buf); 463 evas_object_image_mmap_set(ep->object, ed->file->f, buf);
464// until leak found.. disable this as it causes much leakage. thanks cedric!
465// evas_object_image_mmap_set(ep->object, ed->file->f, buf);
466 if (evas_object_image_load_error_get(ep->object) != EVAS_LOAD_ERROR_NONE) 464 if (evas_object_image_load_error_get(ep->object) != EVAS_LOAD_ERROR_NONE)
467 { 465 {
468 ERR("Error loading image collection \"%s\" from " 466 ERR("Error loading image collection \"%s\" from "