summaryrefslogtreecommitdiffstats
path: root/src/H5Gint.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Gint.c')
-rw-r--r--src/H5Gint.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/H5Gint.c b/src/H5Gint.c
index 1e204d8..5e220ed 100644
--- a/src/H5Gint.c
+++ b/src/H5Gint.c
@@ -839,7 +839,6 @@ H5G_iterate(hid_t loc_id, const char *group_name,
vol_plugin = H5F_get_vol_cls(loc.oloc->file);
if (H5I_register_aux(gid, vol_plugin, (H5I_free_t)H5VL_close) < 0)
HGOTO_ERROR(H5E_VOL, H5E_CANTINIT, FAIL, "can't attach vol info to ID")
- vol_plugin->nrefs++;
/* Set up user data for callback */
udata.gid = gid;
@@ -1119,7 +1118,6 @@ H5G_visit(hid_t loc_id, const char *group_name, H5_index_t idx_type,
vol_plugin = H5F_get_vol_cls(loc.oloc->file);
if (H5I_register_aux(gid, vol_plugin, (H5I_free_t)H5VL_close) < 0)
HGOTO_ERROR(H5E_VOL, H5E_CANTINIT, FAIL, "can't attach vol info to ID")
- vol_plugin->nrefs++;
/* Set up user data */
udata.gid = gid;