diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-11-20 21:01:28 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-11-20 21:01:28 (GMT) |
commit | 335978f235277f12a87fb198a5fd1a0e43ce5734 (patch) | |
tree | 63d1ced7d5079d67992998b6cff21454e73ecd51 /src/H5Gdense.c | |
parent | 8d9964cf02cd13318029856b3becb70b8bb01f69 (diff) | |
download | hdf5-335978f235277f12a87fb198a5fd1a0e43ce5734.zip hdf5-335978f235277f12a87fb198a5fd1a0e43ce5734.tar.gz hdf5-335978f235277f12a87fb198a5fd1a0e43ce5734.tar.bz2 |
[svn-r12952] Description:
Add tests for H5Literate(), in all combinations.
Sweep up a few minor issues with H5Literate() that the tests exposed.
Tested on:
Linux/32 2.6 (chicago)
Linux/64 2.6 (chicago2)
Diffstat (limited to 'src/H5Gdense.c')
-rw-r--r-- | src/H5Gdense.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Gdense.c b/src/H5Gdense.c index 7fd7883..e495076 100644 --- a/src/H5Gdense.c +++ b/src/H5Gdense.c @@ -585,8 +585,9 @@ H5G_dense_lookup_by_idx_fh_cb(const void *obj, size_t UNUSED obj_len, void *_uda HGOTO_ERROR(H5E_SYM, H5E_CANTCOPY, H5_ITER_ERROR, "can't copy link message") done: + /* Release the space allocated for the link */ if(tmp_lnk) - H5O_reset(H5O_LINK_ID, tmp_lnk); + H5O_free(H5O_LINK_ID, tmp_lnk); FUNC_LEAVE_NOAPI(ret_value) } /* end H5G_dense_lookup_by_idx_fh_cb() */ |