forked from TrueCloudLab/restic
TestCreateSnapshot: free buffer
This commit is contained in:
parent
238d3807e9
commit
2c04ad3c29
1 changed files with 1 additions and 0 deletions
|
@ -51,6 +51,7 @@ func (fs fakeFileSystem) saveFile(rd io.Reader) (blobs backend.IDs) {
|
||||||
|
|
||||||
fs.knownBlobs.Insert(id)
|
fs.knownBlobs.Insert(id)
|
||||||
}
|
}
|
||||||
|
freeBuf(chunk.Data)
|
||||||
|
|
||||||
blobs = append(blobs, id)
|
blobs = append(blobs, id)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue