x/perf: resource leaks from unclosed objects reported by staticmajor #56188
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
What did you do?
Ran staticmajor within Orijtech Inc, and it produced this manifest of issues
in which:
_, err = tx.Stmt(db.insertUpload).Exec(id, day, num)
storage/fs.FS
abstraction makes it so thatstorage/fs/gcs.NewWriter
creates a Google Cloud Storage client that never gets closedthe resource leaks are real and all resource leaks except for the storage.Client resource leak can be fixed by this diff
Kind FYI for @kirbyquerby @elias-orijtech @willpoint @jhusdero
The text was updated successfully, but these errors were encountered: