Skip to content

Calling IO_opendir twice without IO_closedir leaks memory. #24

@fingolfin

Description

@fingolfin

We can fix this by checking whether ourDIR is zero before calling opendir. If not, either generate an error or silently call closedir. I'd tend to favor the former, for while that might break some existing code, it hints at the user that something is wrong. But I could live with either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions