summaryrefslogtreecommitdiff
path: root/receiver.c
diff options
context:
space:
mode:
authorJ.W. Schultz <jw@samba.org>2004-02-10 03:23:37 +0000
committerJ.W. Schultz <jw@samba.org>2004-02-10 03:23:37 +0000
commit9935066b704bcf2e6e48dac85cb1b4047d8f439d (patch)
treed34306ebea0ffb106ccb7d37318feb95a47605db /receiver.c
parent6c2e5b56e49b494b33b3b63fc797f83d4c05a203 (diff)
downloadrsync-9935066b704bcf2e6e48dac85cb1b4047d8f439d.tar.gz
Make idev, hlink and file_struct + strings use allocation
pools.
Diffstat (limited to 'receiver.c')
-rw-r--r--receiver.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/receiver.c b/receiver.c
index da89819a..ca6bf23f 100644
--- a/receiver.c
+++ b/receiver.c
@@ -305,6 +305,12 @@ int recv_files(int f_in,struct file_list *flist,char *local_name)
rprintf(FINFO,"recv_files(%d) starting\n",flist->count);
}
+ if (flist->hlink_pool)
+ {
+ pool_destroy(flist->hlink_pool);
+ flist->hlink_pool = NULL;
+ }
+
while (1) {
cleanup_disable();