diff options
author | Mike McGreevy <mamcgree@hdfgroup.org> | 2010-01-08 20:22:56 (GMT) |
---|---|---|
committer | Mike McGreevy <mamcgree@hdfgroup.org> | 2010-01-08 20:22:56 (GMT) |
commit | b93ed894c6371e426f04403ac1d125f836b82d89 (patch) | |
tree | fb20145db254335e59f4d167ec7904d4555c5b0f /tools/lib/h5diff_dset.c | |
parent | 41280d6bbe7ceb8aec9e5d4bbb74fc1e3d66ef07 (diff) | |
download | hdf5-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/lib/h5diff_dset.c')
-rw-r--r-- | tools/lib/h5diff_dset.c | 5 |
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*/ |