summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/task_image.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/kernel/task_image.go')
-rw-r--r--pkg/sentry/kernel/task_image.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/kernel/task_image.go b/pkg/sentry/kernel/task_image.go
index c132c27ef..6002ffb42 100644
--- a/pkg/sentry/kernel/task_image.go
+++ b/pkg/sentry/kernel/task_image.go
@@ -53,7 +53,7 @@ type TaskImage struct {
}
// release releases all resources held by the TaskImage. release is called by
-// the task when it execs into a new TaskImage or exits.
+// the task when it execs into a new TaskImage.
func (image *TaskImage) release() {
// Nil out pointers so that if the task is saved after release, it doesn't
// follow the pointers to possibly now-invalid objects.