Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/efreet

Dir     : e17/libs/efreet/src/lib


Modified Files:
        efreet_utils.c 


Log Message:
Fix memleak

===================================================================
RCS file: /cvs/e/e17/libs/efreet/src/lib/efreet_utils.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- efreet_utils.c      25 Mar 2007 19:01:45 -0000      1.15
+++ efreet_utils.c      25 Mar 2007 21:49:49 -0000      1.16
@@ -98,6 +98,8 @@
         Efreet_Cache_Fill *fill;
         fill = ecore_idler_del(idler);
         IF_FREE_LIST(fill->dirs);
+        if (fill->current) _efreet_util_cache_dir_free(fill->current);
+        if (fill->files) closedir(fill->files);
         free(fill);
     }
     idler = NULL;



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to