mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 13:50:33 +05:00
correctly use delete[] instead of delete in python_mesh.cpp
This commit is contained in:
parent
7677da04a6
commit
4c0c5aac8c
@ -463,7 +463,7 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m)
|
||||
if(id==0)
|
||||
delete infile;
|
||||
infile = new istringstream(string((const char*)buf, (size_t)strs));
|
||||
delete buf;
|
||||
delete[] buf;
|
||||
|
||||
#else
|
||||
self.Load(*infile);
|
||||
|
Loading…
Reference in New Issue
Block a user