summaryrefslogtreecommitdiffstats
path: root/src/H5VLiod_link.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2013-07-09 15:16:46 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2013-07-09 15:16:46 (GMT)
commit46b5d073b56090829f6f6519553b4a427703e129 (patch)
tree78087e067c6b941a1cd3e4c5e21f3a77d5e8f896 /src/H5VLiod_link.c
parente74f49bdc142517aab4ab2e6823edef186895971 (diff)
downloadhdf5-46b5d073b56090829f6f6519553b4a427703e129.zip
hdf5-46b5d073b56090829f6f6519553b4a427703e129.tar.gz
hdf5-46b5d073b56090829f6f6519553b4a427703e129.tar.bz2
[svn-r23876] - Add functionality to generate IOD hyperslabs for HDF5 dataspace selections
- Fix some bugs & valgrind warnings
Diffstat (limited to 'src/H5VLiod_link.c')
-rw-r--r--src/H5VLiod_link.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/H5VLiod_link.c b/src/H5VLiod_link.c
index bf24949..bab9663 100644
--- a/src/H5VLiod_link.c
+++ b/src/H5VLiod_link.c
@@ -135,10 +135,7 @@ H5VL_iod_server_link_create_cb(AXE_engine_t UNUSED axe_engine,
HGOTO_ERROR(H5E_SYM, H5E_CANTINIT, FAIL, "can't set KV pair in parent");
HDfree(kv.key);
- /* close the source group */
- if(src_oh.cookie != input->loc_oh.cookie) {
- iod_obj_close(src_oh, NULL, NULL);
- }
+ iod_obj_close(src_oh, NULL, NULL);
/* open the target object */
if (iod_obj_open_write(coh, target_id, NULL, &target_oh, NULL) < 0)