mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Revert "#5015 libecl : Make sure *.UNSMRY is closed properly after data is read"
This reverts commit f1070cdb82
.
This commit is contained in:
parent
f1070cdb82
commit
4c9048cd6a
4
ThirdParty/Ert/lib/ecl/ecl_file_view.cpp
vendored
4
ThirdParty/Ert/lib/ecl/ecl_file_view.cpp
vendored
@ -169,10 +169,6 @@ void ecl_file_view_index_fload_kw(const ecl_file_view_type * ecl_file_view, cons
|
||||
int element_count = ecl_file_kw_get_size(file_kw);
|
||||
|
||||
ecl_kw_fread_indexed_data(ecl_file_view->fortio, offset + ECL_KW_HEADER_FORTIO_SIZE, data_type, element_count, index_map, io_buffer);
|
||||
|
||||
if (ecl_file_view_flags_set(ecl_file_view, ECL_FILE_CLOSE_STREAM))
|
||||
fortio_fclose_stream(ecl_file_view->fortio);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user