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:30 -08:00
committed by GitHub
parent f3543a839e
commit cdc831bb89

View File

@ -64,6 +64,8 @@ int ReaderNative::read_time(bigint &ntimestep)
if (binary) {
int endian = 0x0001;
revision = 0x0001;
delete[] magic_string;
delete[] unit_style;
magic_string = nullptr;
unit_style = nullptr;