forked from lijiext/lammps
fix delete / delete[] mismatch
This commit is contained in:
parent
ed9bfb433f
commit
d567fdae97
|
@ -1183,7 +1183,7 @@ void LammpsGui::start_lammps()
|
|||
|
||||
// delete additional arguments again (3 were there initially
|
||||
while (lammps_args.size() > initial_narg) {
|
||||
delete lammps_args.back();
|
||||
delete[] lammps_args.back();
|
||||
lammps_args.pop_back();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue