Skip to content

Commit

Permalink
Fix typo in comment (HDFGroup#3775)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbeu authored and jhendersonHDF committed Dec 7, 2023
1 parent 4db1b26 commit 6976faa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/H5Tvlen.c
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ H5T__vlen_mem_seq_write(H5VL_object_t H5_ATTR_UNUSED *file, const H5T_vlen_alloc
if (seq_len) {
size_t len = seq_len * base_size; /* Sequence size */

/* Use the user's memory allocation routine is one is defined */
/* Use the user's memory allocation routine if one is defined */
if (vl_alloc_info->alloc_func != NULL) {
if (NULL == (vl.p = (vl_alloc_info->alloc_func)(len, vl_alloc_info->alloc_info)))
HGOTO_ERROR(H5E_DATATYPE, H5E_CANTALLOC, FAIL,
Expand Down

0 comments on commit 6976faa

Please sign in to comment.