Enlightenment CVS committal
Author : lordchaos
Project : e17
Module : apps/evfs
Dir : e17/apps/evfs/src/bin
Modified Files:
evfs_main.c evfs_server_handle.c
Log Message:
* Another big leak. Tell you what - If i hadn't married Viv, I would have
started a harem with Valgrind and Memprof ;)
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/bin/evfs_main.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -3 -r1.28 -r1.29
--- evfs_main.c 20 Dec 2005 21:55:02 -0000 1.28
+++ evfs_main.c 29 Dec 2005 12:43:40 -0000 1.29
@@ -143,6 +143,8 @@
ecore_list_append(server->incoming_command_list, com_cli);
}
+ free(msg);
+
return 1;
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/bin/evfs_server_handle.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -3 -r1.28 -r1.29
--- evfs_server_handle.c 28 Dec 2005 11:35:18 -0000 1.28
+++ evfs_server_handle.c 29 Dec 2005 12:43:40 -0000 1.29
@@ -139,7 +139,7 @@
recursive_command->file_command.num_files = 1;
evfs_handle_file_remove_command(client, recursive_command);
-
evfs_cleanup_command(recursive_command,1);
+
evfs_cleanup_command(recursive_command,EVFS_CLEANUP_FREE_COMMAND);
}
}
@@ -267,7 +267,7 @@
/*Get the source file size*/
- (*plugin->functions->evfs_file_stat)(command, &file_stat);
+ (*plugin->functions->evfs_file_lstat)(command, &file_stat);
//printf("Source file size: %d bytes\n",
(int)file_stat.st_size);
@@ -347,7 +347,7 @@
evfs_handle_file_copy(client,
recursive_command, root_command);
evfs_cleanup_filereference(file);
- evfs_cleanup_command(recursive_command,
1);
+ evfs_cleanup_command(recursive_command,
EVFS_CLEANUP_FREE_COMMAND);
}
ecore_list_destroy(directory_list);
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs