summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJacob Smith <jake.smith@hdfgroup.org>2020-05-29 19:27:14 (GMT)
committerJacob Smith <jake.smith@hdfgroup.org>2020-05-29 19:27:14 (GMT)
commit6462c67b6578e48c1ef6d847be59c0b5e3598a50 (patch)
treed3599a7d51224a1b4a1fd4116776fc3e3a2c7aa9 /src
parentf745476aa506e6df8c2811df22c821481b0fafc8 (diff)
downloadhdf5-6462c67b6578e48c1ef6d847be59c0b5e3598a50.zip
hdf5-6462c67b6578e48c1ef6d847be59c0b5e3598a50.tar.gz
hdf5-6462c67b6578e48c1ef6d847be59c0b5e3598a50.tar.bz2
Patch a few holes in the Splitter VFD implementation.
* Missing logfile close on driver-open failure. * Initialize empty string in test/vfd (logfile path in W/O compat check).
Diffstat (limited to 'src')
-rw-r--r--src/H5FDsplitter.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5FDsplitter.c b/src/H5FDsplitter.c
index 13816a5..4ed3c4a 100644
--- a/src/H5FDsplitter.c
+++ b/src/H5FDsplitter.c
@@ -818,6 +818,9 @@ done:
if (file_ptr->wo_file) {
H5FD_close(file_ptr->wo_file);
}
+ if (file_ptr->logfp) {
+ HDfclose(file_ptr->logfp);
+ }
H5FL_FREE(H5FD_splitter_t, file_ptr);
}
} /* end if error */