Skip to content

Potential json_file memory leak #561

@jacobwilliams

Description

@jacobwilliams

json_file_load and json_file_load_from_string don't explicitly destroy the pointer p before loading, so if this type is used in a loop, then there would be a memory leak. I think we see this in test 36.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions