We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 122aa2a commit df29fdeCopy full SHA for df29fde
1 file changed
src/GDSIIgeom.cpp
@@ -153,6 +153,7 @@ geometric_object_list get_GDSII_prisms(material_type material, const char *GDSII
153
double height = zmax - zmin;
154
vector3 zaxis = {0, 0, 1};
155
prisms.items[np] = make_prism(material, vertices, num_vertices, height, zaxis);
156
+ delete[] vertices; // make_prism copies the data
157
}
158
return prisms;
159
0 commit comments