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 f41156c..71d083d 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -680,7 +680,7 @@ herr_t H5D_release(hatom_t oid)
H5MM_xfree (dataset);
/* Delete the dataset from the atom group */
- if(H5Aatom_object(oid)==NULL)
+ if(H5Aremove_atom(oid)==NULL)
HGOTO_ERROR(H5E_ATOM, H5E_BADATOM, FAIL);
done: