diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-11-30 21:38:30 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-11-30 21:38:30 (GMT) |
commit | 27c0fb2220c241337bd82426ca2c178bff2e3870 (patch) | |
tree | 95ab5672227cef811d96033f16dc2b265f0a8501 /src/H5Doh.c | |
parent | ce7f9328b67687756afa530885659bc2ced77539 (diff) | |
download | hdf5-27c0fb2220c241337bd82426ca2c178bff2e3870.zip hdf5-27c0fb2220c241337bd82426ca2c178bff2e3870.tar.gz hdf5-27c0fb2220c241337bd82426ca2c178bff2e3870.tar.bz2 |
[svn-r13002] Description:
Fix problem with copying objects when the dataset to copy has an "older"
version of the layout message and needs to compute the size of the dataset's
storage after the dataspace information is available.
Minor random cleanups also...
Tested on:
FreeBSD/32 4.11 (sleipnir)
Too minor/weird to test w/h5committest...
Diffstat (limited to 'src/H5Doh.c')
-rw-r--r-- | src/H5Doh.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5Doh.c b/src/H5Doh.c index 042d9c5..52ac017 100644 --- a/src/H5Doh.c +++ b/src/H5Doh.c @@ -130,6 +130,10 @@ H5O_dset_free_copy_file_udata(void *_udata) /* Sanity check */ HDassert(udata); + /* Release copy of dataset's dataspace extent, if it was set */ + if(udata->src_space_extent) + H5O_free(H5O_SDSPACE_ID, udata->src_space_extent); + /* Release copy of dataset's datatype, if it was set */ if(udata->src_dtype) H5T_close(udata->src_dtype); |