2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-26 14:56:29 +00:00

TestCreateSnapshot: free buffer

This commit is contained in:
Alexander Neumann 2016-08-15 21:37:11 +02:00
parent 238d3807e9
commit 2c04ad3c29

View File

@ -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)
}