proxmox-backup/pbs-tools
Dominik Csapak 98983a9dab pbs-tools: LruCache: implement Drop
this fixes the leaked memory for the cache, as we had only pointers
in the map/list which were freed, not the underlying chunks

moves the 'clear' implementation out of the trait bounds so that
Drop can reuse it

this is used e.g. for file download from a pxar

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-01-20 11:24:34 +01:00
..
src pbs-tools: LruCache: implement Drop 2022-01-20 11:24:34 +01:00
Cargo.toml bump regex dep to 1.5 2021-12-16 11:25:02 +01:00