summaryrefslogtreecommitdiffstats
path: root/src/H5Dmpio.c
diff options
context:
space:
mode:
authorJordan Henderson <jhenderson@hdfgroup.org>2017-02-10 16:58:48 (GMT)
committerJordan Henderson <jhenderson@hdfgroup.org>2017-02-10 16:58:48 (GMT)
commit77f155da5d001bee33a63f0199431b8d6bdc4170 (patch)
treeec3c32385bcaea9e5be540ccab7b227f03ffcb5e /src/H5Dmpio.c
parent2de2112cf6dd2557d81e1a71cea0b61e2ced57aa (diff)
downloadhdf5-77f155da5d001bee33a63f0199431b8d6bdc4170.zip
hdf5-77f155da5d001bee33a63f0199431b8d6bdc4170.tar.gz
hdf5-77f155da5d001bee33a63f0199431b8d6bdc4170.tar.bz2
Remove potential infinite loops caused by goto in error label region
Diffstat (limited to 'src/H5Dmpio.c')
-rw-r--r--src/H5Dmpio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Dmpio.c b/src/H5Dmpio.c
index 785853d..210163a 100644
--- a/src/H5Dmpio.c
+++ b/src/H5Dmpio.c
@@ -3011,7 +3011,7 @@ done:
if (mod_data)
H5MM_free(mod_data);
if (mem_iter_init && H5S_SELECT_ITER_RELEASE(mem_iter) < 0)
- HGOTO_ERROR(H5E_DATASET, H5E_CANTFREE, FAIL, "couldn't release selection iterator")
+ HDONE_ERROR(H5E_DATASET, H5E_CANTFREE, FAIL, "couldn't release selection iterator")
if (mem_iter)
H5MM_free(mem_iter);
@@ -3411,12 +3411,12 @@ done:
if (tmp_gath_buf)
H5MM_free(tmp_gath_buf);
if (mem_iter_init && H5S_SELECT_ITER_RELEASE(mem_iter) < 0)
- HGOTO_ERROR(H5E_DATASET, H5E_CANTFREE, FAIL, "couldn't release selection iterator")
+ HDONE_ERROR(H5E_DATASET, H5E_CANTFREE, FAIL, "couldn't release selection iterator")
if (mem_iter)
H5MM_free(mem_iter);
if (dataspace)
if (H5S_close(dataspace) < 0)
- HGOTO_ERROR(H5E_DATASPACE, H5E_CANTFREE, FAIL, "can't close dataspace")
+ HDONE_ERROR(H5E_DATASPACE, H5E_CANTFREE, FAIL, "can't close dataspace")
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__filtered_collective_chunk_entry_io() */