Commit f50f7c4c authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

fs: plug fd leak in bridge_test.go

Change-Id: I4d77ac9194ca9caedf7b0418386e22ae57b90b9b
parent be93dbf7
......@@ -31,6 +31,11 @@ func TestBridgeReaddirPlusVirtualEntries(t *testing.T) {
if !status.Ok() {
t.Fatal(status)
}
releaseIn := fuse.ReleaseIn{
Fh: openOut.Fh,
}
releaseIn.NodeId = 1
defer rb.ReleaseDir(&releaseIn)
// We only populate what rawBridge.ReadDirPlus() actually looks at.
readIn := fuse.ReadIn{}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment