summaryrefslogtreecommitdiffstats
path: root/src/H5Dint.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Dint.c')
-rw-r--r--src/H5Dint.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5Dint.c b/src/H5Dint.c
index 1beb0a2..5623133 100644
--- a/src/H5Dint.c
+++ b/src/H5Dint.c
@@ -2738,6 +2738,7 @@ H5D_get_type(H5D_t *dset)
if((ret_value = H5I_register(H5I_DATATYPE, dt, TRUE)) < 0)
HGOTO_ERROR(H5E_ATOM, H5E_CANTREGISTER, FAIL, "unable to register datatype")
}
+
done:
if(ret_value < 0) {
if(dt && H5T_close(dt) < 0)