Skip to content

Conversation

@Idate96
Copy link

@Idate96 Idate96 commented Dec 12, 2025

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 mergify bot mentioned this pull request Dec 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant