mirror of
https://github.com/octoleo/restic.git
synced 2024-12-27 12:42:49 +00:00
TestCreateSnapshot: free buffer
This commit is contained in:
parent
238d3807e9
commit
2c04ad3c29
@ -51,6 +51,7 @@ func (fs fakeFileSystem) saveFile(rd io.Reader) (blobs backend.IDs) {
|
||||
|
||||
fs.knownBlobs.Insert(id)
|
||||
}
|
||||
freeBuf(chunk.Data)
|
||||
|
||||
blobs = append(blobs, id)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user