Skip to content
New issue

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

defer close should be used after error check #1259

Closed
QiAnXinCodeSafe opened this issue Jun 14, 2018 · 2 comments
Closed

defer close should be used after error check #1259

QiAnXinCodeSafe opened this issue Jun 14, 2018 · 2 comments
Assignees
Labels

Comments

@QiAnXinCodeSafe
Copy link

defer l.Close()

@ValarDragon
Copy link
Contributor

Thanks for reporting this! Its been addressed in my PR, along with all other similar instances!

@cwgoes
Copy link
Contributor

cwgoes commented Jun 16, 2018

Merged.

@cwgoes cwgoes closed this as completed Jun 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants