summaryrefslogtreecommitdiffstats
path: root/src/H5FDlog.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2018-12-19 04:30:12 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2018-12-19 04:30:12 (GMT)
commitb61ad0f7b68f974356a33b335e94e21a941c0621 (patch)
treec30308297c83b1009ffa36ed085a20f8f8c6f803 /src/H5FDlog.c
parentbd096066c3d9613fcece7450f8628a3a660b6b4f (diff)
downloadhdf5-b61ad0f7b68f974356a33b335e94e21a941c0621.zip
hdf5-b61ad0f7b68f974356a33b335e94e21a941c0621.tar.gz
hdf5-b61ad0f7b68f974356a33b335e94e21a941c0621.tar.bz2
Clear driver properties before returning them to application.
Move write_tracking and page_size properties to be inside the core VFD's driver properties.
Diffstat (limited to 'src/H5FDlog.c')
-rw-r--r--src/H5FDlog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5FDlog.c b/src/H5FDlog.c
index 3dcd7f5..cd9ab0e 100644
--- a/src/H5FDlog.c
+++ b/src/H5FDlog.c
@@ -329,6 +329,8 @@ H5Pset_fapl_log(hid_t fapl_id, const char *logfile, unsigned long long flags, si
if(NULL == (plist = H5P_object_verify(fapl_id, H5P_FILE_ACCESS)))
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a file access property list")
+ HDmemset(&fa, 0, sizeof(H5FD_log_fapl_t));
+
/* This shallow copy is correct! The string will be properly
* copied deep down in the H5P code.
*/