summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMike McGreevy <mamcgree@hdfgroup.org>2010-01-08 20:22:56 (GMT)
committerMike McGreevy <mamcgree@hdfgroup.org>2010-01-08 20:22:56 (GMT)
commitb93ed894c6371e426f04403ac1d125f836b82d89 (patch)
treefb20145db254335e59f4d167ec7904d4555c5b0f /tools
parent41280d6bbe7ceb8aec9e5d4bbb74fc1e3d66ef07 (diff)
downloadhdf5-b93ed894c6371e426f04403ac1d125f836b82d89.zip
hdf5-b93ed894c6371e426f04403ac1d125f836b82d89.tar.gz
hdf5-b93ed894c6371e426f04403ac1d125f836b82d89.tar.bz2
[svn-r18095] Fixed coverity issue # 271.
Removed redundant checking and freeing of sm_buf1 and sm_buf2.
Diffstat (limited to 'tools')
-rw-r--r--tools/lib/h5diff_dset.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/lib/h5diff_dset.c b/tools/lib/h5diff_dset.c
index ad9331d..2cc84ca 100644
--- a/tools/lib/h5diff_dset.c
+++ b/tools/lib/h5diff_dset.c
@@ -545,11 +545,6 @@ hsize_t diff_datasetid( hid_t did1,
} /* elmtno */
H5Sclose(sm_space);
- /* free */
- HDfree(sm_buf1);
- sm_buf1 = NULL;
- HDfree(sm_buf2);
- sm_buf2 = NULL;
} /* hyperslab read */
}/*can_compare*/