79686894

Date: 2025-07-02 06:16:11
Score: 3.5
Natty:
Report link

I think there is an error in answer https://stackoverflow.com/a/46590476/16460395. The file used in gzip, gerr := gzip.NewReader(file) will never close, because Reader.Close does not close the underlying io.Reader (https://pkg.go.dev/compress/gzip#Reader.Close).

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Andrey Metelyov