fcoll/dynamic: coverity fixes
okay, hopefully really fix CIDS 72325-72328, and 72330-72332. Signed-off-by: Howard Pritchard <howardp@lanl.gov>
Этот коммит содержится в:
родитель
87fb1a798c
Коммит
2d61a652c8
@ -720,7 +720,8 @@ mca_fcoll_static_file_write_all (mca_io_ompio_file_t *fh,
|
||||
send_buf = malloc (bytes_to_write_in_cycle);
|
||||
if (NULL == send_buf) {
|
||||
opal_output (1, "OUT OF MEMORY\n");
|
||||
return OMPI_ERR_OUT_OF_RESOURCE;
|
||||
ret = OMPI_ERR_OUT_OF_RESOURCE;
|
||||
goto exit;
|
||||
}
|
||||
remaining = bytes_to_write_in_cycle;
|
||||
|
||||
@ -806,7 +807,8 @@ mca_fcoll_static_file_write_all (mca_io_ompio_file_t *fh,
|
||||
(entries_per_aggregator * sizeof (mca_io_ompio_io_array_t));
|
||||
if (NULL == fh->f_io_array) {
|
||||
opal_output(1, "OUT OF MEMORY\n");
|
||||
return OMPI_ERR_OUT_OF_RESOURCE;
|
||||
ret = OMPI_ERR_OUT_OF_RESOURCE;
|
||||
goto exit;
|
||||
}
|
||||
fh->f_num_of_io_entries = 0;
|
||||
/*First entry for every aggregator*/
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user