Skip to content

deleteNode leaks memory #318

@psaripp

Description

@psaripp

I have found a memory leak issue in deleteNode method. I wrote an algorithm to clean up maps, and it uses this method extensively. However, we have found out that this particular method causes a memory leak.

I was able to isolate one of our test cases which proves this behaviour and I had created a repo to prove it:
https://github.com/psaripp/octomap-memoryleak-proof

This affects the latest version of octomap, not just the one which was included in ROS melodic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions