Enlightenment CVS committal Author : doursse Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore Modified Files: ecore_path.c Log Message: destroy group_list if it is empty, then set it to NULL =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore/ecore_path.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -3 -r1.11 -r1.12 --- ecore_path.c 7 Mar 2007 23:57:03 -0000 1.11 +++ ecore_path.c 8 Mar 2007 00:17:22 -0000 1.12 @@ -73,6 +73,12 @@ if (ecore_list_goto(group_list, group)) ecore_list_remove(group_list); + if (ecore_list_is_empty(group_list)) + { + ecore_list_destroy(group_list); + group_list = NULL; + } + free(group->name); free(group); } ------------------------------------------------------------------------- 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