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

refactor: fix potential resource leaks #4197

Merged
merged 1 commit into from
Oct 4, 2021

Conversation

MartinWitt
Copy link
Collaborator

This PR fixes an issue with potential resource leaks. In both cases a try-with-resources fixed the problem. See

LGTM-Link

@lgtm-com
Copy link

lgtm-com bot commented Oct 3, 2021

This pull request fixes 2 alerts when merging 9c6d0d1 into d9bcb11 - view on LGTM.com

fixed alerts:

  • 2 for Potential output resource leak

@MartinWitt MartinWitt changed the title refactor(*): fix potential resource leaks review: refactor(*): fix potential resource leaks Oct 3, 2021
@monperrus monperrus changed the title review: refactor(*): fix potential resource leaks refactor: fix potential resource leaks Oct 4, 2021
@monperrus monperrus merged commit 6ec8ab8 into INRIA:master Oct 4, 2021
@monperrus
Copy link
Collaborator

Thanks a lot @MartinWitt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants