Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ultraliser::Mesh segfaults on destructor #50

Open
NadirRoGue opened this issue Mar 30, 2023 · 0 comments
Open

Ultraliser::Mesh segfaults on destructor #50

NadirRoGue opened this issue Mar 30, 2023 · 0 comments

Comments

@NadirRoGue
Copy link
Contributor

Ultraliser::Mesh objects built from Ultraliser::NeuronMorphology objects produce a double free on the following line:

It can be tested by adding delete mesh; after this:

auto mesh = new Mesh(neuronMorphology);
_rasterize(mesh, _grid);

(The fact the mesh isnt being released is already a memory leak. There are futher memory leaks on the same function where this line belongs to).

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

No branches or pull requests

1 participant