Skip to content

readPLY probably leaks memory #919

@jimmyland

Description

@jimmyland

Based on just reading over the code, the functions in ply.h do a lot of mallocs (myallocs) and largely don't appear to have corresponding free calls, so e.g. ply_get_element_description allocates for each description and igl::readPLY doesn't appear to free this memory.

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