summaryrefslogtreecommitdiffstats
path: root/hl/src/H5IM.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2013-07-08 15:52:49 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2013-07-08 15:52:49 (GMT)
commit528e0d1cac689310beecf02e56a10b764afa2651 (patch)
tree55b458aedb657440c0cd124f9d6d9f521153db6f /hl/src/H5IM.c
parent38bdc241ed4f62c9d628de563f6f98f3dda6281c (diff)
downloadhdf5-528e0d1cac689310beecf02e56a10b764afa2651.zip
hdf5-528e0d1cac689310beecf02e56a10b764afa2651.tar.gz
hdf5-528e0d1cac689310beecf02e56a10b764afa2651.tar.bz2
[svn-r23869] HDFFV-8302: replace (v)snprintf with _(v)snprintf for windows. Merge from trunk along with other windows functions and HD prefix corrections.
HDFFV-8394: Add cmake code to package examples Tested: local linux
Diffstat (limited to 'hl/src/H5IM.c')
-rw-r--r--hl/src/H5IM.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/hl/src/H5IM.c b/hl/src/H5IM.c
index 11f4014..2621ca4 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;