diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2012-08-17 18:36:45 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2012-08-17 18:36:45 (GMT) |
commit | 60dc75f4f4141c5cbd2cb72d0ee3a6919c957f14 (patch) | |
tree | b31ed3aae37a68c031dae16c9561d57c742c4bbb /hl/src/H5IM.c | |
parent | bb11cbee94fa5d32cfd1ebdffa45132a411adf91 (diff) | |
download | hdf5-60dc75f4f4141c5cbd2cb72d0ee3a6919c957f14.zip hdf5-60dc75f4f4141c5cbd2cb72d0ee3a6919c957f14.tar.gz hdf5-60dc75f4f4141c5cbd2cb72d0ee3a6919c957f14.tar.bz2 |
[svn-r22693] Add missing H5Tclose().
Diffstat (limited to 'hl/src/H5IM.c')
-rw-r--r-- | hl/src/H5IM.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hl/src/H5IM.c b/hl/src/H5IM.c index 93d2b3f..e55aaf8 100644 --- a/hl/src/H5IM.c +++ b/hl/src/H5IM.c @@ -564,7 +564,7 @@ herr_t H5IMlink_palette( hid_t loc_id, /* close */ if(H5Sclose(asid) < 0) goto out; - if ( H5Tclose( atid ) < 0) + if(H5Tclose(atid) < 0) goto out; if(H5Aclose(aid) < 0) goto out; @@ -630,6 +630,8 @@ herr_t H5IMlink_palette( hid_t loc_id, /* close */ if(H5Sclose(asid) < 0) goto out; + if(H5Tclose(atid) < 0) + goto out; if(H5Aclose(aid) < 0) goto out; |