Skip to content

Conversation

@fgavioli
Copy link

@fgavioli fgavioli commented Oct 4, 2022

Hi @botforge, amazing project, thanks for sharing.

Type:
Bugfix: memory leak.

Description:
This PR fixes a memory leak in pointcloud.cu which can result in out-of-memory crashes.
This should solve issue #7.

Solution:
Add a cudaFree(dev_matches) call to the pointcloud destructor to free the memory pointed by dev_matches.

Co-Authored-by: Federico Gavioli f.gavioli97@gmail.com
Co-Authored-by: Antonio Russo 270201@studenti.unimore.it
Signed-off-by: Federico Gavioli f.gavioli97@gmail.com

Co-Authored-by: Antonio Russo <270201@studenti.unimore.it>
Co-Authored-by: Federico Gavioli <f.gavioli97@gmail.com>
Signed-off-by: Federico Gavioli <f.gavioli97@gmail.com>
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