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

Unreleased Resource: Streams scan fortify #153

Closed
ewgonzalesd opened this issue Jan 17, 2019 · 1 comment
Closed

Unreleased Resource: Streams scan fortify #153

ewgonzalesd opened this issue Jan 17, 2019 · 1 comment

Comments

@ewgonzalesd
Copy link

HdrHistogram-2​.1​.11​.jar​/org​/HdrHistogram​/HistogramLogProcessor​.java: line 287
HdrHistogram-2​.1​.11​.jar​/org​/HdrHistogram​/HistogramLogProcessor​.java: line 294
HdrHistogram-2​.1​.11​.jar​/org​/HdrHistogram​/HistogramLogProcessor​.java: line 302
HdrHistogram-2​.1​.11​.jar​/org​/HdrHistogram​/HistogramLogProcessor​.java: line 294
HdrHistogram-2​.1​.11​.jar​/org​/HdrHistogram​/HistogramLogProcessor​.java: line 287
HdrHistogram-2​.1​.11​.jar​/org​/HdrHistogram​/HistogramLogProcessor​.java: line 302

HistogramLogProcessor.java sometimes fails to release a system resource allocated by FileOutputStream() on line 287.The program can potentially fail to release a system resource.

Release resources in a finally block

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

No branches or pull requests

2 participants