Skip to content

Commit

Permalink
Merge pull request moby#4816 from tonistiigi/oci-release
Browse files Browse the repository at this point in the history
oci: fix missing release call
  • Loading branch information
AkihiroSuda authored Apr 2, 2024
2 parents 40ee291 + 1510288 commit cf2053e
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 cf2053e

Please sign in to comment.