Enlightenment CVS committal
Author : chaos
Project : e17
Module : proto
Dir : e17/proto/entropy/src/plugins
Modified Files:
filesystem.c
Log Message:
* Leak catch
===================================================================
RCS file: /cvs/e/e17/proto/entropy/src/plugins/filesystem.c,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -3 -r1.77 -r1.78
--- filesystem.c 26 Aug 2006 12:59:15 -0000 1.77
+++ filesystem.c 26 Aug 2006 13:17:00 -0000 1.78
@@ -1134,14 +1134,21 @@
long id;
entropy_generic_file* file;
Ecore_List* evfs_files;
+ evfs_filereference* ref;
evfs_files = ecore_list_new();
ecore_list_goto_first(files);
while ( (file = ecore_list_next(files)) ) {
- ecore_list_append(evfs_files, evfs_parse_uri_single(file->uri));
+ printf("Parsing %s\n", file->uri);
+ if ( (ref = evfs_parse_uri_single(file->uri))) {
+ ecore_list_append(evfs_files, ref);
+ }
}
/*Track the restore action */
id = evfs_client_file_trash_restore (con, evfs_files);
ecore_hash_set(evfs_dir_requests, (long*)id, instance);
+
+ ecore_list_destroy(files);
+ ecore_list_destroy(evfs_files);
}
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs