Skip to content
Snippets Groups Projects
Commit 2da20602 authored by Tom Fischer's avatar Tom Fischer
Browse files

fixed memory leak

parent a6b94366
No related branches found
No related tags found
No related merge requests found
......@@ -120,6 +120,10 @@ int main(int argc, char *argv[])
std::vector<size_t> idx_found_nodes;
testMeshGridAlgorithm(mesh, pnts_for_search, idx_found_nodes);
for (size_t k(0); k<n; k++) {
delete pnts_for_search[k];
}
delete mesh;
delete custom_format;
delete logog_cout;
......
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