Skip to content

Resource leak — BufferedReader never closed in DependencyGraphParser.parseMultiResource() #1987

Description

@elharo

Affected version: HEAD

File:

The (and its underlying ) is never closed. If throws an IOException, the stream leaks. Compare with the correctly-implemented method at line 174-188 which uses try-finally.

Originally reported in #1944.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:criticalCrashes, loss of data, severe memory leak

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions