diff options
Diffstat (limited to 'src/H5VLiod_link.c')
-rw-r--r-- | src/H5VLiod_link.c | 5 |
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) |