Bugzilla – Bug 1449
memory leak in ftp_client
Last modified: 2003-12-12 12:24:07
You need to log in before you can comment on or make changes to this bug.
There seems to be a memory leak in the handle_destroy methods. I wrote this small test program here to make sure. It reaches ~ 60MB in size .. #include <globus_gass_copy.h> #include <globus_io.h> int aa() { globus_ftp_client_handleattr_t ftp_handleattr; globus_ftp_client_handle_t delete_handle; globus_ftp_client_handleattr_init(&ftp_handleattr); globus_ftp_client_handle_init(&delete_handle, &ftp_handleattr); globus_ftp_client_handle_destroy(&delete_handle); globus_ftp_client_handleattr_destroy(&ftp_handleattr); return 0; }; int main() { globus_module_activate(GLOBUS_GASS_COPY_MODULE); globus_module_activate(GLOBUS_IO_MODULE); for (int i = 0; i < 1000000; ++i) aa(); return 0; }
This turned out to be a bug in globus_common. The fix is in cvs and an update package will be available later today. Joe