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

[Improvement] Possible resource leak in BaseCatalog.java #6236

Open
justinmclean opened this issue Jan 15, 2025 · 1 comment · May be fixed by #6253
Open

[Improvement] Possible resource leak in BaseCatalog.java #6236

justinmclean opened this issue Jan 15, 2025 · 1 comment · May be fixed by #6253
Assignees
Labels
good first issue Good for newcomers improvement Improvements on everything

Comments

@justinmclean
Copy link
Member

What would you like to be improved?

At line 209 there looks to be an issue with not cleaning up authorization.

How should we improve?

Use try-with-resources or close this "BaseAuthorization" in a "finally" clause.

@justinmclean justinmclean added good first issue Good for newcomers improvement Improvements on everything labels Jan 15, 2025
@Abyss-lord
Copy link
Contributor

I would like to work on it.

Abyss-lord added a commit to Abyss-lord/gravitino that referenced this issue Jan 15, 2025
Abyss-lord added a commit to Abyss-lord/gravitino that referenced this issue Jan 15, 2025
Abyss-lord added a commit to Abyss-lord/gravitino that referenced this issue Jan 15, 2025
Abyss-lord added a commit to Abyss-lord/gravitino that referenced this issue Jan 15, 2025
Abyss-lord added a commit to Abyss-lord/gravitino that referenced this issue Jan 15, 2025
Abyss-lord added a commit to Abyss-lord/gravitino that referenced this issue Jan 15, 2025
@justinmclean justinmclean changed the title [Improvement] Possible resourse leak in BaseCatalog.java [Improvement] Possible resource leak in BaseCatalog.java Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers improvement Improvements on everything
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants