mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Remove spurious fd.IncRef().
PiperOrigin-RevId: 328583461
This commit is contained in:
committed by
gVisor bot
parent
b03e0ee802
commit
366f1a8f16
@@ -121,7 +121,6 @@ func (fd *nonDirectoryFD) OnClose(ctx context.Context) error {
|
||||
fd.cachedFlags = statusFlags
|
||||
}
|
||||
wrappedFD := fd.cachedFD
|
||||
defer wrappedFD.IncRef()
|
||||
fd.mu.Unlock()
|
||||
return wrappedFD.OnClose(ctx)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user