summaryrefslogtreecommitdiffhomepage
path: root/pkg
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-01-24 00:33:13 +0000
committergVisor bot <gvisor-bot@google.com>2020-01-24 00:33:13 +0000
commit3190911f9de9ac4ee2141f8273812a87e4930fda (patch)
tree29fbc11d23070fcb585c21037f357545b9225311 /pkg
parent6d077471e9ab708625fbba3442b7b71e9d70564b (diff)
parent3db317390b5cc491d680fc4a5fc7b8372890b4da (diff)
Merge release-20200115.0-94-g3db3173 (automated)
Diffstat (limited to 'pkg')
-rw-r--r--pkg/sentry/kernel/epoll/epoll.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/sentry/kernel/epoll/epoll.go b/pkg/sentry/kernel/epoll/epoll.go
index 430311cc0..e84742993 100644
--- a/pkg/sentry/kernel/epoll/epoll.go
+++ b/pkg/sentry/kernel/epoll/epoll.go
@@ -174,6 +174,7 @@ func (e *EventPoll) Release() {
entry.id.File.EventUnregister(&entry.waiter)
entry.file.Drop()
}
+ e.files = nil
}
// Read implements fs.FileOperations.Read.