[svn-r29245] use HDONE_ERROR instead of HGOTO after done.

This commit is contained in:
Mohamad Chaarawi 2016-03-01 11:28:33 -05:00
parent 281a4901f6
commit c9c8ec5f7c

View File

@ -548,7 +548,7 @@ done:
#ifdef H5_DEBUG_BUILD
/* release the metadata dxpl that was copied in the init function */
if(H5I_dec_ref(io_info.md_dxpl_id) < 0)
HGOTO_ERROR(H5E_DATASET, H5E_CANTDEC, FAIL, "can't close metadata dxpl")
HDONE_ERROR(H5E_DATASET, H5E_CANTDEC, FAIL, "can't close metadata dxpl")
#endif /* H5_DEBUG_BUILD */
#ifdef H5_HAVE_PARALLEL
/* Shut down io_info struct */
@ -808,7 +808,7 @@ done:
#ifdef H5_DEBUG_BUILD
/* release the metadata dxpl that was copied in the init function */
if(H5I_dec_ref(io_info.md_dxpl_id) < 0)
HGOTO_ERROR(H5E_DATASET, H5E_CANTDEC, FAIL, "can't close metadata dxpl")
HDONE_ERROR(H5E_DATASET, H5E_CANTDEC, FAIL, "can't close metadata dxpl")
#endif /* H5_DEBUG_BUILD */
#ifdef H5_HAVE_PARALLEL
/* Shut down io_info struct */