summaryrefslogtreecommitdiffstats
path: root/src/H5SL.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-11-12 14:41:18 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-11-12 14:41:18 (GMT)
commit55fab292ae23de822d3406737e1f5eb205c32574 (patch)
tree1648dc758a8de7982fcf7481ce94da2243819acd /src/H5SL.c
parentbb6bb5716579581123ba75b0ef2f2c453f86ff69 (diff)
downloadhdf5-55fab292ae23de822d3406737e1f5eb205c32574.zip
hdf5-55fab292ae23de822d3406737e1f5eb205c32574.tar.gz
hdf5-55fab292ae23de822d3406737e1f5eb205c32574.tar.bz2
H5SL_release() returns SUCCEED on errors
H5SL_release() erroneously returned SUCCEED on errors. It now correctly returns ret_value.
Diffstat (limited to 'src/H5SL.c')
-rw-r--r--src/H5SL.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5SL.c b/src/H5SL.c
index 443eaff..a2a424a 100644
--- a/src/H5SL.c
+++ b/src/H5SL.c
@@ -2233,7 +2233,7 @@ H5SL_release(H5SL_t *slist)
HGOTO_ERROR(H5E_SLIST, H5E_CANTFREE, FAIL, "can't release skip list nodes")
done:
- FUNC_LEAVE_NOAPI(SUCCEED)
+ FUNC_LEAVE_NOAPI(ret_value)
} /* end H5SL_release() */
/*--------------------------------------------------------------------------