mirror of
https://github.com/restic/restic.git
synced 2025-08-22 03:08:20 +00:00
TestCreateSnapshot: free buffer
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user