diff --git a/Cargo.lock b/Cargo.lock index 32a5536..be4d301 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1166,7 +1166,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "scavenger" -version = "1.7.4" +version = "1.7.5" dependencies = [ "aligned_alloc 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "bytes 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index 754aae6..a525d6d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "scavenger" -version = "1.7.4" +version = "1.7.5" license = "GPL-3.0" authors = ["PoC Consortium "] description = """ diff --git a/src/reader.rs b/src/reader.rs index 95d95b5..0c667f5 100644 --- a/src/reader.rs +++ b/src/reader.rs @@ -206,6 +206,7 @@ impl Reader { "reader: error reading chunk from {}: {} -> skip one round", p.meta.name, e ); + buffer.unmap(); (0, 0, true) } };