1
0
mirror of https://github.com/rclone/rclone.git synced 2025-01-29 21:04:23 +02:00
rclone/fs/accounting
Nick Craig-Wood d46f8d0ae5 accounting: fix memory leak on retries operations
Before this change if an operation was retried on operations.Copy and
the operation was large enough to use an async buffer then an async
buffer was leaked on the retry.  This leaked memory, a file handle and
a go routine.

After this change if Account.WithBuffer is called and there is already
a buffer, then a new one won't be allocated.
2019-11-19 12:11:59 +00:00
..
2019-11-18 14:13:02 +00:00