mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-05 15:42:32 +08:00
Fix typo in comment (#3775)
This commit is contained in:
parent
cbd5a8d3ce
commit
ebeb642fcd
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user