Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/epsilon

Dir     : e17/libs/epsilon/src/lib


Modified Files:
        Epsilon.c 


Log Message:
- make sure we free the ecore_evas or we end up eating a lot of memory when
  we do a whole bunch of convertions

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/epsilon/src/lib/Epsilon.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- Epsilon.c   16 Jul 2005 15:54:39 -0000      1.13
+++ Epsilon.c   20 Jul 2005 02:02:32 -0000      1.14
@@ -510,6 +510,7 @@
              }
            else
              {
+               ecore_evas_free(ee);
                printf ("Cannot load file %s, group %s\n", e->src, e->key);
                return (EPSILON_FAIL);
              }
@@ -556,12 +557,14 @@
                                     format, mtime, uri))
              {
                imlib_free_image_and_decache ();
+               if (ee) ecore_evas_free(ee);
                return (EPSILON_OK);
              }
            imlib_free_image_and_decache ();
          }
 
       }
+    if (ee) ecore_evas_free(ee);
   }
   return (EPSILON_FAIL);
 }




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to