summaryrefslogtreecommitdiffstats
path: root/src/H5Dearray.c
diff options
context:
space:
mode:
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 2215951..0440416 100644
--- a/src/H5Dearray.c
+++ b/src/H5Dearray.c
@@ -642,7 +642,7 @@ H5D_earray_idx_depend(const H5D_chk_idx_info_t *idx_info)
done:
/* Unpin the dataset's object header */
- if(oh && H5O_unpin(&oloc, oh) < 0)
+ if(oh && H5O_unpin(oh) < 0)
HDONE_ERROR(H5E_DATASET, H5E_CANTUNPIN, FAIL, "unable to unpin dataset object header")
FUNC_LEAVE_NOAPI(ret_value)
@@ -699,7 +699,7 @@ H5D_earray_idx_undepend(const H5D_chk_idx_info_t *idx_info)
done:
/* Unpin the dataset's object header */
- if(oh && H5O_unpin(&oloc, oh) < 0)
+ if(oh && H5O_unpin(oh) < 0)
HDONE_ERROR(H5E_DATASET, H5E_CANTUNPIN, FAIL, "unable to unpin dataset object header")
FUNC_LEAVE_NOAPI(ret_value)