plug memory leak
This commit is contained in:
@ -1153,6 +1153,7 @@ void CreateAtoms::add_mesh(const char *filename)
|
|||||||
utils::logmesg(lmp, " read {} triangles with {:.2f} atoms per triangle added in {} mode\n",
|
utils::logmesg(lmp, " read {} triangles with {:.2f} atoms per triangle added in {} mode\n",
|
||||||
ntriangle, ratio, mesh_name[mesh_style]);
|
ntriangle, ratio, mesh_name[mesh_style]);
|
||||||
}
|
}
|
||||||
|
if (fp) fclose(fp);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------
|
/* ----------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user