Skip to content
Snippets Groups Projects
Commit 29a54a30 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[MeL] MeshRevision; Fix potential memory leak.

parent cf94d974
No related branches found
No related tags found
No related merge requests found
......@@ -798,6 +798,8 @@ MeshLib::Element* MeshRevision::constructFourNodeElement(
return new MeshLib::Tet(new_nodes);
}
// is quad but min elem dim == 3
delete[] new_nodes;
return nullptr;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment