summaryrefslogtreecommitdiffstats
path: root/src/H5Gnode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Gnode.c')
-rw-r--r--src/H5Gnode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Gnode.c b/src/H5Gnode.c
index 714661c..0c23524 100644
--- a/src/H5Gnode.c
+++ b/src/H5Gnode.c
@@ -1520,7 +1520,7 @@ H5G_node_iterate(H5F_t *f, hid_t dxpl_id, const void UNUSED *_lt_key, haddr_t ad
ret_value = (udata->lnk_op->u.lib_op)(&lnk, udata->op_data);
/* Release memory for link object */
- if(H5O_reset(H5O_LINK_ID, &lnk) < 0)
+ if(H5O_msg_reset(H5O_LINK_ID, &lnk) < 0)
HGOTO_ERROR(H5E_SYM, H5E_CANTFREE, H5_ITER_ERROR, "unable to release link message")
}
} /* end switch */