summaryrefslogtreecommitdiffstats
path: root/tools/h5dump
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2010-08-05 17:09:49 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2010-08-05 17:09:49 (GMT)
commit1b5fdb13ba8937fa641921e5c3926f4ecd819559 (patch)
treea263ba0fa5e45f5d87b052395126fe9c2e356c90 /tools/h5dump
parentdc51db6583adbc23ab2862ee1093f4a49408c6f1 (diff)
downloadhdf5-1b5fdb13ba8937fa641921e5c3926f4ecd819559.zip
hdf5-1b5fdb13ba8937fa641921e5c3926f4ecd819559.tar.gz
hdf5-1b5fdb13ba8937fa641921e5c3926f4ecd819559.tar.bz2
[svn-r19173] Took out several redundant lines when object IDs are closed.
Tested on jam.
Diffstat (limited to 'tools/h5dump')
-rw-r--r--tools/h5dump/h5dumpgentest.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/h5dump/h5dumpgentest.c b/tools/h5dump/h5dumpgentest.c
index 69626c5..95caa5e 100644
--- a/tools/h5dump/h5dumpgentest.c
+++ b/tools/h5dump/h5dumpgentest.c
@@ -692,15 +692,6 @@ out:
/*
* Close/release resources.
*/
- H5Sclose(dataspace);
- H5Gclose(gid1);
- H5Gclose(gid2);
- H5Dclose(dset1);
- H5Dclose(dset2);
- H5Fclose(fileid1);
- /*
- * Close/release resources.
- */
if(dataspace >= 0 && H5Sclose(dataspace) < 0) {
fprintf(stderr, "Error: %s> H5Sclose failed.\n", FILE4_1);
status = FAIL;