summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/H5Tcompound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Tcompound.c b/src/H5Tcompound.c
index b6718c6..dc7b53d 100644
--- a/src/H5Tcompound.c
+++ b/src/H5Tcompound.c
@@ -231,7 +231,7 @@ done:
if(ret_value<0) {
if(memb_dt!=NULL)
if(H5T_close(memb_dt)<0)
- HDONE_ERROR(H5E_DATATYPE, H5E_CANTCLOSEOBJ, FAIL, "can't close datatype")
+ HDONE_ERROR(H5E_DATATYPE, H5E_CANTDEC, FAIL, "can't close datatype")
} /* end if */
FUNC_LEAVE_API(ret_value)