From 60dc75f4f4141c5cbd2cb72d0ee3a6919c957f14 Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Fri, 17 Aug 2012 13:36:45 -0500 Subject: [svn-r22693] Add missing H5Tclose(). --- hl/src/H5IM.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- cgit v0.12