diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2018-11-07 21:20:28 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2018-11-07 21:20:28 (GMT) |
commit | 140f72b74847822e50bd10bb7051049b77f59abb (patch) | |
tree | d6f2af86ac3f1edd21414d97de1771fb382d742d /tools/test/perform/zip_perf.c | |
parent | ef9ffc630ab6449230bb3fec29583264a6c1fe18 (diff) | |
parent | 40338b9e40b980eb4bb709e4f36661d7620d9a1f (diff) | |
download | hdf5-140f72b74847822e50bd10bb7051049b77f59abb.zip hdf5-140f72b74847822e50bd10bb7051049b77f59abb.tar.gz hdf5-140f72b74847822e50bd10bb7051049b77f59abb.tar.bz2 |
Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into stackable_vol
Diffstat (limited to 'tools/test/perform/zip_perf.c')
-rw-r--r-- | tools/test/perform/zip_perf.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/test/perform/zip_perf.c b/tools/test/perform/zip_perf.c index 0636d3b..e301bb3 100644 --- a/tools/test/perform/zip_perf.c +++ b/tools/test/perform/zip_perf.c @@ -419,7 +419,9 @@ fill_with_random_data(Bytef *src, uLongf src_len) buf += rc; len -= (size_t)rc; } - } else { + HDclose(fd); + } + else { HDfprintf(stdout, "Using random() for random data\n"); for (u = 0; u < src_len; ++u) @@ -557,7 +559,7 @@ main(int argc, char **argv) int opt; prog = argv[0]; - + /* Initialize h5tools lib */ h5tools_init(); |