diff options
author | Quincey Koziol <koziol@lbl.gov> | 2020-08-10 17:58:20 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@lbl.gov> | 2020-08-10 17:58:20 (GMT) |
commit | 79a2e34f88af7c7290401607f1dd1fed822dc414 (patch) | |
tree | 442bcb106378ce41f4ace3f0771c7bc6f8557022 /src/H5Tenum.c | |
parent | 5f6eec0b20ce325fbd4cbc7913cd972fbd070a22 (diff) | |
download | hdf5-79a2e34f88af7c7290401607f1dd1fed822dc414.zip hdf5-79a2e34f88af7c7290401607f1dd1fed822dc414.tar.gz hdf5-79a2e34f88af7c7290401607f1dd1fed822dc414.tar.bz2 |
Correct typos w/HGOTO_DONE & HGOTO_ERROR
Diffstat (limited to 'src/H5Tenum.c')
-rw-r--r-- | src/H5Tenum.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/H5Tenum.c b/src/H5Tenum.c index ffdab5b..cd41a23 100644 --- a/src/H5Tenum.c +++ b/src/H5Tenum.c @@ -414,8 +414,7 @@ H5T__enum_nameof(const H5T_t *dt, const void *value, char *name/*out*/, size_t s /* Save result name */ if(!name) { - if(NULL == (name = (char *)H5MM_malloc( - HDstrlen(copied_dt->shared->u.enumer.name[md]) + 1))) + if(NULL == (name = (char *)H5MM_malloc(HDstrlen(copied_dt->shared->u.enumer.name[md]) + 1))) HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, NULL, "memory allocation failed"); alloc_name = TRUE; } /* end if */ |