summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/H5Groot.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/H5Groot.c b/src/H5Groot.c
index f4a18ae..733393f 100644
--- a/src/H5Groot.c
+++ b/src/H5Groot.c
@@ -252,12 +252,11 @@ done:
if(f->shared->root_grp) {
if(f->shared->root_grp->shared)
f->shared->root_grp->shared = H5FL_FREE(H5G_shared_t, f->shared->root_grp->shared);
- H5G_name_free(root_loc.path);
f->shared->root_grp = H5FL_FREE(H5G_t, f->shared->root_grp);
} /* end if */
if(f->shared->sblock)
f->shared->sblock->root_ent = (H5G_entry_t *)H5MM_xfree(f->shared->sblock->root_ent);
- /* H5G_name_free(root_loc.path);*/
+ H5G_name_free(root_loc.path);
} /* end if */
/* Mark superblock dirty in cache, if necessary */