diff options
author | Neil Fortner <nfortne2@hdfgroup.org> | 2021-01-22 21:05:39 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-22 21:05:39 (GMT) |
commit | a8ee85971b4251a3383d82fdd68bf150e0acad39 (patch) | |
tree | 093c3211e458370a30b3dca604bb86517a64ae91 /src/H5Odtype.c | |
parent | 672892cc0ed458b30ad60b02e38c92c680468800 (diff) | |
download | hdf5-a8ee85971b4251a3383d82fdd68bf150e0acad39.zip hdf5-a8ee85971b4251a3383d82fdd68bf150e0acad39.tar.gz hdf5-a8ee85971b4251a3383d82fdd68bf150e0acad39.tar.bz2 |
Fix problems with vlens and refs inside compound using H5VLget_file_type() (#274)hdf5-1_13_0-rc5
* Fixed problems with vlens and refs inside compound using H5VLget_file_type()
* Fix date in RELEASE.txt
* Add assertions
* Move some manipulation of H5VL_object_t struct fields into the H5VL
package.
Diffstat (limited to 'src/H5Odtype.c')
-rw-r--r-- | src/H5Odtype.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/H5Odtype.c b/src/H5Odtype.c index b6e986d..c1effad 100644 --- a/src/H5Odtype.c +++ b/src/H5Odtype.c @@ -579,8 +579,10 @@ H5O__dtype_decode_helper(unsigned *ioflags /*in,out*/, const uint8_t **pp, H5T_t done: if (ret_value < 0) if (dt != NULL) { - if (dt->shared != NULL) + if (dt->shared != NULL) { + HDassert(!dt->shared->owned_vol_obj); dt->shared = H5FL_FREE(H5T_shared_t, dt->shared); + } /* end if */ dt = H5FL_FREE(H5T_t, dt); } /* end if */ |