search for: pool_destroy

Displaying 2 results from an estimated 2 matches for "pool_destroy".

2004 Feb 06
4
memory reduction
...eof (struct idev), out_of_memory, POOL_INTERN); io_start_buffering_out(f); if (filesfrom_fd >= 0) { if (argv[0] && !push_dir(argv[0])) { @@ -1177,6 +1191,12 @@ struct file_list *send_file_list(int f, finish_filelist_progress(flist); } + if (flist->hlink_pool) + { + pool_destroy(flist->hlink_pool); + flist->hlink_pool = NULL; + } + clean_flist(flist, 0, 0); if (f != -1) { @@ -1216,10 +1236,10 @@ struct file_list *recv_file_list(int f) start_read = stats.total_read; - flist = new(struct file_list); - if (!flist) - goto oom; + flist = flist_new(WITH_HLINK...
2004 Sep 03
1
more filelist --stats
...time(NULL) - stats.flist_buildtime; + stats.flist_xfertime = time(NULL); + if (f != -1) { send_file_entry(NULL, f, 0); @@ -1209,6 +1213,8 @@ finish_filelist_progress(flist); } + stats.flist_xfertime = time(NULL) - stats.flist_xfertime; + if (flist->hlink_pool) { pool_destroy(flist->hlink_pool); flist->hlink_pool = NULL; --- rsync-2.6.3pre1/main.c 2004-08-05 14:17:44.000000000 -0400 +++ rsync-2.6.3pre1+tykhe/main.c 2004-09-03 10:18:46.869429000 -0400 @@ -178,6 +178,10 @@ rprintf(FINFO,"Matched data: %.0f bytes\n", (double)stats.matched_data);...