We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bf6071 commit ba9c445Copy full SHA for ba9c445
src/cmd/go/internal/work/action.go
@@ -384,6 +384,7 @@ func readpkglist(shlibpath string) (pkgs []*load.Package) {
384
if err != nil {
385
base.Fatal(fmt.Errorf("failed to open shared library: %v", err))
386
}
387
+ defer f.Close()
388
sect := f.Section(".go_export")
389
if sect == nil {
390
base.Fatal(fmt.Errorf("%s: missing .go_export section", shlibpath))
0 commit comments