summaryrefslogtreecommitdiffstats
path: root/src/H5Tcompound.c
diff options
context:
space:
mode:
authorHDF Admin <hdfadmin@ncsa.uiuc.edu>2004-04-25 09:10:35 (GMT)
committerHDF Admin <hdfadmin@ncsa.uiuc.edu>2004-04-25 09:10:35 (GMT)
commit9af04cd41de071821810e440fa08ef5da18193d4 (patch)
treec28a14f754646ee97fa886a8268c72e7411fa1b9 /src/H5Tcompound.c
parent77706cc276af29d0aee26d8051854da2f824ab9d (diff)
downloadhdf5-9af04cd41de071821810e440fa08ef5da18193d4.zip
hdf5-9af04cd41de071821810e440fa08ef5da18193d4.tar.gz
hdf5-9af04cd41de071821810e440fa08ef5da18193d4.tar.bz2
[svn-r8418] Snapshot version 1.7 release 23
Diffstat (limited to 'src/H5Tcompound.c')
-rw-r--r--src/H5Tcompound.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Tcompound.c b/src/H5Tcompound.c
index 3a1c64f..f62f794 100644
--- a/src/H5Tcompound.c
+++ b/src/H5Tcompound.c
@@ -253,7 +253,8 @@ H5Tget_member_type(hid_t type_id, unsigned membno)
HGOTO_ERROR(H5E_DATATYPE, H5E_CANTREGISTER, FAIL, "unable register datatype atom")
done:
- if(ret_value<0) {
+ 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")