Update src/reader_native.cpp

Co-authored-by: Richard Berger <richard.berger@temple.edu>
This commit is contained in:
Lixin Sun
2021-12-13 12:23:21 -08:00
committed by GitHub
parent 3eae7b4200
commit f3543a839e

View File

@ -487,6 +487,8 @@ void ReaderNative::read_atoms(int n, int nfield, double **fields)
}
delete[] magic_string;
delete[] unit_style;
magic_string = nullptr;
unit_style = nullptr;
} else {
int i,m;