Enlightenment CVS committal
Author : sebastid
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_desktop
Modified Files:
ecore_desktop_paths.c
Log Message:
No need to create the list here, it is never used and will leak.
===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_desktop/ecore_desktop_paths.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -3 -r1.27 -r1.28
--- ecore_desktop_paths.c 23 Sep 2006 09:32:27 -0000 1.27
+++ ecore_desktop_paths.c 23 Sep 2006 09:33:34 -0000 1.28
@@ -673,13 +673,7 @@
struct stat path_stat;
char *this_path;
- if (paths == NULL)
- {
- paths = ecore_list_new();
- if (paths == NULL)
- return;
- ecore_list_set_free_cb(paths, free);
- }
+ if (!paths) return;
/* Check if we have it already. */
ecore_list_goto_first(paths);
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs