We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tidb/domain/infosync/info.go
Lines 347 to 363 in b2ea0e6
The body should be closed when the error happens.
The resource may leak.
master
The text was updated successfully, but these errors were encountered:
close body when ReadAll encounters error
afdc138
close pingcap#30464 Signed-off-by: Ryan Leung <rleungx@gmail.com>
Please check whether the issue should be labeled with 'affects-x.y' or 'fixes-x.y.z', and then remove 'needs-more-info' label.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Bug Report
1. Minimal reproduce step (Required)
tidb/domain/infosync/info.go
Lines 347 to 363 in b2ea0e6
2. What did you expect to see? (Required)
The body should be closed when the error happens.
3. What did you see instead (Required)
The resource may leak.
4. What is your TiDB version? (Required)
master
The text was updated successfully, but these errors were encountered: