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