summaryrefslogtreecommitdiffstats
path: root/src/H5UC.c
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-08-03 12:57:29 (GMT)
committerGitHub <noreply@github.com>2023-08-03 12:57:29 (GMT)
commit7fc8531b767855e69fb4016783a1131ba581fd5b (patch)
treea243310b99da59c858ae4eaeed8c452e0177bba4 /src/H5UC.c
parenta77d8bfcd7d066c6759b0346c02cbd612f90b7c2 (diff)
downloadhdf5-7fc8531b767855e69fb4016783a1131ba581fd5b.zip
hdf5-7fc8531b767855e69fb4016783a1131ba581fd5b.tar.gz
hdf5-7fc8531b767855e69fb4016783a1131ba581fd5b.tar.bz2
Merge Made HGOTO_ERROR a do-while loop changes from develop (#3334)
Diffstat (limited to 'src/H5UC.c')
-rw-r--r--src/H5UC.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5UC.c b/src/H5UC.c
index 60a4456..00da530 100644
--- a/src/H5UC.c
+++ b/src/H5UC.c
@@ -63,7 +63,7 @@ H5UC_create(void *o, H5UC_free_func_t free_func)
/* Allocate ref-counted string structure */
if (NULL == (ret_value = H5FL_MALLOC(H5UC_t)))
- HGOTO_ERROR(H5E_RS, H5E_NOSPACE, NULL, "memory allocation failed")
+ HGOTO_ERROR(H5E_RS, H5E_NOSPACE, NULL, "memory allocation failed");
/* Set the internal fields */
ret_value->o = o;
@@ -113,7 +113,7 @@ H5UC_decr(H5UC_t *rc)
if (rc->n == 0) {
if ((rc->free_func)(rc->o) < 0) {
rc = H5FL_FREE(H5UC_t, rc);
- HGOTO_ERROR(H5E_RS, H5E_CANTFREE, FAIL, "memory release failed")
+ HGOTO_ERROR(H5E_RS, H5E_CANTFREE, FAIL, "memory release failed");
} /* end if */
rc = H5FL_FREE(H5UC_t, rc);
} /* end if */