Skip to content

Lots of file handles left open due to return before closing #556

Closed
@sandrotosi

Description

Hello,
as reported in Debian bug bugs.debian.org/772543 here are several file handles left opened due to the use of return before the handle closure; some have been fixed in 3760d95 but several others are still around (even in that very same commit, the first hunk leave the fd opened.

for programs meant to keep running, leaving fd opened will hit linux limits, like the reported described

Regards,
Sandro

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions