FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

grid_map_sdf: fix planar SDF memory leak by Idate96 · Pull Request #529 · ANYbotics/grid_map · GitHub

grid_map_sdf: fix planar SDF memory leak - #529

Open
Idate96 wants to merge 1 commit into
ANYbotics:jazzyfrom
Idate96:fix/memory_leak
Open

grid_map_sdf: fix planar SDF memory leak#529
Idate96 wants to merge 1 commit into
ANYbotics:jazzyfrom
Idate96:fix/memory_leak

Conversation

Idate96 commented Dec 12, 2025
edited
Loading

Copy link
Copy Markdown

leak in SignedDistanceField::getPlanarSignedDistanceField(): the temporary distance_transform::image and the dt() output were allocated with new and never freed. This switches to RAII (stack allocation + std::unique_ptr) so repeated SDF recomputation doesn't grow memory.

mergify Bot mentioned this pull request Dec 12, 2025

Ryanf55 commented Apr 17, 2026

Copy link
Copy Markdown
Collaborator

HI, can you please retarget this to rolling? LGTM.

Ryanf55 added bug ros2 Affects ROS 2 labels Apr 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug ros2 Affects ROS 2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL