diff options
author | Jerome Soumagne <jsoumagne@hdfgroup.org> | 2020-07-15 01:00:47 (GMT) |
---|---|---|
committer | Jerome Soumagne <jsoumagne@hdfgroup.org> | 2020-07-16 02:00:36 (GMT) |
commit | aa9d2bd9bcce7a1a53c9d9cf519df5401041bb74 (patch) | |
tree | 9056b90596a37a2946e8060a0b2192c02c474791 /src/H5Rint.c | |
parent | 806f5b5b2a280072f62f58c48e93acdc84f2b3ae (diff) | |
download | hdf5-aa9d2bd9bcce7a1a53c9d9cf519df5401041bb74.zip hdf5-aa9d2bd9bcce7a1a53c9d9cf519df5401041bb74.tar.gz hdf5-aa9d2bd9bcce7a1a53c9d9cf519df5401041bb74.tar.bz2 |
H5R: fix type conversion of references within vlen type
Update trefer.c with vlen test case
Diffstat (limited to 'src/H5Rint.c')
-rw-r--r-- | src/H5Rint.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/H5Rint.c b/src/H5Rint.c index 30f3dbb..6dfbf2b 100644 --- a/src/H5Rint.c +++ b/src/H5Rint.c @@ -423,6 +423,10 @@ H5R__destroy(H5R_ref_priv_t *ref) HDassert(ref != NULL); + H5R_LOG_DEBUG("Destroying reference, filename=%s, obj_addr=%s, encode size=%u", + ref->info.obj.filename, H5R__print_token(ref->info.obj.token), + ref->encode_size); + H5MM_xfree(ref->info.obj.filename); ref->info.obj.filename = NULL; @@ -1028,6 +1032,10 @@ H5R__encode(const char *filename, const H5R_ref_priv_t *ref, unsigned char *buf, HGOTO_ERROR(H5E_REFERENCE, H5E_UNSUPPORTED, FAIL, "internal error (unknown reference type)") } /* end switch */ + H5R_LOG_DEBUG("Encoded reference, filename=%s, obj_addr=%s, encode size=%u", + ref->info.obj.filename, H5R__print_token(ref->info.obj.token), + encode_size); + *nalloc = encode_size; done: |