Skip to content

fix: close response body and fix memory leak

feistel requested to merge feistel/gitlab-pages:fix/memory-leak into master

What does this MR do?

fixes a few memory leaks I bumped into while reviewing the code:

*technically, the body is closed inside checkResponseForInvalidToken which is called here. However the logic is run only if status code is StatusUnauthorized.

TODO

Related to %{ISSUE_ID}

Merge request reports