summaryrefslogtreecommitdiffstats
path: root/src/H5D.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5D.c')
-rw-r--r--src/H5D.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/H5D.c b/src/H5D.c
index b532221..f62fc21 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -1905,6 +1905,9 @@ done:
* Quincey Koziol, 12 Oct 1998
* Moved guts of function into H5D_open_oid
*
+ * Pedro Vicente, <pvn@ncsa.uiuc.edu> 18 Sep 2002
+ * Added `id to name' support.
+ *
*-------------------------------------------------------------------------
*/
H5D_t *
@@ -1932,6 +1935,10 @@ H5D_open(H5G_entry_t *loc, const char *name)
ret_value = dataset;
done:
+
+ /*Free the ID to name buffer */
+ H5G_free_ent_name(&ent);
+
FUNC_LEAVE(ret_value);
}