diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2013-07-08 15:52:49 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2013-07-08 15:52:49 (GMT) |
commit | 528e0d1cac689310beecf02e56a10b764afa2651 (patch) | |
tree | 55b458aedb657440c0cd124f9d6d9f521153db6f /hl/test | |
parent | 38bdc241ed4f62c9d628de563f6f98f3dda6281c (diff) | |
download | hdf5-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/test')
-rw-r--r-- | hl/test/test_image.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/hl/test/test_image.c b/hl/test/test_image.c index 5c0c7ca..5a52980 100644 --- a/hl/test/test_image.c +++ b/hl/test/test_image.c @@ -289,6 +289,15 @@ static int test_simple(void) *------------------------------------------------------------------------- */ + if(buf1) + HDfree(buf1); + if(buf2) + HDfree(buf2); + if(buf1_out) + HDfree(buf1_out); + if(buf2_out) + HDfree(buf2_out); + /* Close the file. */ if(H5Fclose( fid ) < 0) goto out; |