Commit 139c1543 authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[FIX #180] added deletes

Thanks for the code review to Stefan P.
parent 4e28c906
......@@ -489,12 +489,20 @@ boost::shared_ptr< WTriangleMesh > WMReadMesh::readMeshVTK()
}
}
triMesh->rescaleVertexColors();
delete[] vectorMarker;
delete[] vectorName;
delete[] vectorInfo1;
delete[] vectorInfo2;
}
ifs.close();
progress->finish();
delete[] cellsMarker;
delete[] cells_typesMarker;
delete[] marker;
return triMesh;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment