cedric pushed a commit to branch master.

commit 1043bb0f470608db2a156de4a93af336752f1b08
Author: Cedric Bail <[email protected]>
Date:   Tue Jun 25 11:44:38 2013 +0900

    edje: leak is gone, so use it again.
---
 src/lib/edje/edje_calc.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/lib/edje/edje_calc.c b/src/lib/edje/edje_calc.c
index d0309d7..bb99b1c 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)
              /* 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. */
 
-             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);
+             evas_object_image_mmap_set(ep->object, ed->file->f, buf);
              if (evas_object_image_load_error_get(ep->object) != 
EVAS_LOAD_ERROR_NONE)
                {
                   ERR("Error loading image collection \"%s\" from "

-- 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

Reply via email to