Skip to content

Commit

Permalink
oci: fix missing release call
Browse files Browse the repository at this point in the history
Signed-off-by: Tonis Tiigi <[email protected]>
  • Loading branch information
tonistiigi committed Apr 1, 2024
1 parent 5f73c5d commit 1510288
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions executor/oci/spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ func GenerateSpec(ctx context.Context, meta executor.Meta, mounts []executor.Mou
if userns.RunningInUserNS() {
s.Mounts, err = rootlessmountopts.FixUpOCI(s.Mounts)
if err != nil {
releaseAll()
return nil, nil, err
}
}
Expand Down

0 comments on commit 1510288

Please sign in to comment.