1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-09 13:36:56 +02:00
Oleksandr Redko c5204dfb64
fix: close HTTP resp body to prevent resource leak (#4857)
This PR fixes possible resource leaks by adding a statement that closes
a response body.

From the [documentation](https://pkg.go.dev/net/http):
> The caller must close the response body when finished with it

Also, see this
[article](https://golang50shad.es/index.html#close_http_resp_body) for a
deep dive into the problem.
2024-05-12 13:17:31 -03:00
..
2024-05-05 23:04:22 -03:00
2024-03-17 15:16:50 -03:00
2023-03-02 00:01:11 -03:00
2024-04-22 23:44:28 -03:00
2024-04-08 10:11:34 -03:00
2024-04-28 20:20:53 -03:00
2024-05-02 20:39:26 -03:00
2024-05-08 15:34:46 -03:00
2024-04-22 23:44:28 -03:00
2024-04-22 23:44:28 -03:00
2024-04-22 23:44:28 -03:00