summaryrefslogtreecommitdiffstats
path: root/src/H5D.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5D.c')
-rw-r--r--src/H5D.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5D.c b/src/H5D.c
index 154809d..7ed1522 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -2668,7 +2668,7 @@ done:
H5FL_FREE(H5D_shared_t, dataset->shared);
H5O_loc_free(&(dataset->oloc));
- H5O_loc_free(&(dataset->path));
+ H5G_name_free(&(dataset->path));
H5FL_FREE(H5D_t, dataset);
}