summaryrefslogtreecommitdiffstats
path: root/src/H5Dearray.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2016-11-30 02:22:47 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2016-11-30 02:22:47 (GMT)
commit63bcd73f1f53a8b4bb31083cbc30f9a90663438f (patch)
tree8edc6ad401a90cd649a5102904c1e0c00e7a56ca /src/H5Dearray.c
parent28fdd9e963f6341df4da0adf223ef32d64b8844c (diff)
parentd3dbe9d90ee71b231b3264e1d62d3efbae3242ef (diff)
downloadhdf5-63bcd73f1f53a8b4bb31083cbc30f9a90663438f.zip
hdf5-63bcd73f1f53a8b4bb31083cbc30f9a90663438f.tar.gz
hdf5-63bcd73f1f53a8b4bb31083cbc30f9a90663438f.tar.bz2
Merge pull request #179 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:eoc_valgrind_bugfix to develop
Fix for some evict-on-close issues revealed by Valgrind. * commit 'd3dbe9d90ee71b231b3264e1d62d3efbae3242ef': Tentative fix for valgrind issues related to EoC.
Diffstat (limited to 'src/H5Dearray.c')
-rw-r--r--src/H5Dearray.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Dearray.c b/src/H5Dearray.c
index 9f95b30..3f12e97 100644
--- a/src/H5Dearray.c
+++ b/src/H5Dearray.c
@@ -657,7 +657,7 @@ H5D__earray_crt_dbg_context(H5F_t *f, hid_t dxpl_id, haddr_t obj_addr)
HGOTO_ERROR(H5E_DATASET, H5E_CANTGET, NULL, "can't get layout info")
/* close the object header */
- if(H5O_close(&obj_loc) < 0)
+ if(H5O_close(&obj_loc, NULL) < 0)
HGOTO_ERROR(H5E_DATASET, H5E_CANTCLOSEOBJ, NULL, "can't close object header")
/* Create user data */
@@ -676,7 +676,7 @@ done:
/* Close object header */
if(obj_opened) {
- if(H5O_close(&obj_loc) < 0)
+ if(H5O_close(&obj_loc, NULL) < 0)
HDONE_ERROR(H5E_DATASET, H5E_CANTCLOSEOBJ, NULL, "can't close object header")
} /* end if */
} /* end if */