Enlightenment CVS committal Author : chaos Project : e17 Module : apps/evfs
Dir : e17/apps/evfs/src/common Modified Files: evfs_cleanup.c Log Message: * Add group remove =================================================================== RCS file: /cvs/e/e17/apps/evfs/src/common/evfs_cleanup.c,v retrieving revision 1.23 retrieving revision 1.24 diff -u -3 -r1.23 -r1.24 --- evfs_cleanup.c 20 Jul 2006 15:15:41 -0000 1.23 +++ evfs_cleanup.c 20 Jul 2006 17:49:51 -0000 1.24 @@ -21,13 +21,14 @@ { int i; - for (i = 0; i < command->file_command.num_files; i++) - { - free(command->file_command.files[i]->path); - free(command->file_command.files[i]->plugin_uri); - free(command->file_command.files[i]); - } - free(command->file_command.files); + if (command->file_command.files) { + for (i = 0; i < command->file_command.num_files; i++) { + free(command->file_command.files[i]->path); + free(command->file_command.files[i]->plugin_uri); + free(command->file_command.files[i]); + } + free(command->file_command.files); + } } void ------------------------------------------------------------------------- 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