summaryrefslogtreecommitdiffstats
path: root/test/dsets.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2015-09-16 20:30:26 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2015-09-16 20:30:26 (GMT)
commit81b5e1c51ffda212f3aafc7fd15de0a9b98863a3 (patch)
tree84d01799c769669bff0118bdf12f021ea6c4e155 /test/dsets.c
parentd23cc2da70510d5c52216234b5d2a7b292a3ab30 (diff)
downloadhdf5-81b5e1c51ffda212f3aafc7fd15de0a9b98863a3.zip
hdf5-81b5e1c51ffda212f3aafc7fd15de0a9b98863a3.tar.gz
hdf5-81b5e1c51ffda212f3aafc7fd15de0a9b98863a3.tar.bz2
[svn-r27807] Description:
Close memory leak on failure. Tested on: Linux/32 2.6.x (jam) w/purify
Diffstat (limited to 'test/dsets.c')
-rw-r--r--test/dsets.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/dsets.c b/test/dsets.c
index c099f9e..7a25f03 100644
--- a/test/dsets.c
+++ b/test/dsets.c
@@ -487,6 +487,8 @@ test_simple_io(const char *env_h5_drvr, hid_t fapl)
return 0;
error:
+ if(tconv_buf)
+ HDfree (tconv_buf);
return -1;
}