summaryrefslogtreecommitdiffstats
path: root/src/H5Tnative.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-07-28 19:33:16 (GMT)
committerGitHub <noreply@github.com>2023-07-28 19:33:16 (GMT)
commit8ddf2706f7e0cde59fad6624e2863960e62f6544 (patch)
treef090bb9fa368c90f67029f5d860ef39df3e8b038 /src/H5Tnative.c
parentb1ab59d239c74cdbea7d518b1398458c4150655f (diff)
downloadhdf5-8ddf2706f7e0cde59fad6624e2863960e62f6544.zip
hdf5-8ddf2706f7e0cde59fad6624e2863960e62f6544.tar.gz
hdf5-8ddf2706f7e0cde59fad6624e2863960e62f6544.tar.bz2
Sync of src w/ develop (#3307)
Diffstat (limited to 'src/H5Tnative.c')
-rw-r--r--src/H5Tnative.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Tnative.c b/src/H5Tnative.c
index 7f792cc..bac956c 100644
--- a/src/H5Tnative.c
+++ b/src/H5Tnative.c
@@ -93,7 +93,7 @@ done:
/* Error cleanup */
if (ret_value < 0)
if (new_dt && H5T_close_real(new_dt) < 0)
- HDONE_ERROR(H5E_DATATYPE, H5E_CLOSEERROR, H5I_INVALID_HID, "unable to release datatype")
+ HDONE_ERROR(H5E_DATATYPE, H5E_CLOSEERROR, H5I_INVALID_HID, "unable to release datatype");
FUNC_LEAVE_API(ret_value)
} /* end H5Tget_native_type() */
@@ -493,13 +493,13 @@ done:
if (NULL == ret_value) {
if (new_type)
if (H5T_close_real(new_type) < 0)
- HDONE_ERROR(H5E_DATATYPE, H5E_CLOSEERROR, NULL, "unable to release datatype")
+ HDONE_ERROR(H5E_DATATYPE, H5E_CLOSEERROR, NULL, "unable to release datatype");
/* Free lists for members */
if (memb_list) {
for (u = 0; u < nmemb; u++)
if (memb_list[u] && H5T_close_real(memb_list[u]) < 0)
- HDONE_ERROR(H5E_ARGS, H5E_BADTYPE, NULL, "cannot close datatype")
+ HDONE_ERROR(H5E_ARGS, H5E_BADTYPE, NULL, "cannot close datatype");
memb_list = (H5T_t **)H5MM_xfree(memb_list);
} /* end if */