fix coverty warning 72107
Этот коммит содержится в:
родитель
a73f9470e0
Коммит
70078175ee
@ -1451,10 +1451,14 @@ int ompi_io_ompio_distribute_file_view (mca_io_ompio_file_t *fh,
|
||||
}
|
||||
*/
|
||||
exit:
|
||||
for (i=0 ; i<num_aggregators ; i++) {
|
||||
if (NULL != broken[i]) {
|
||||
free (broken[i]);
|
||||
|
||||
if (NULL != broken) {
|
||||
for (i=0 ; i<num_aggregators ; i++) {
|
||||
if (NULL != broken[i]) {
|
||||
free (broken[i]);
|
||||
}
|
||||
}
|
||||
free (broken);
|
||||
}
|
||||
if (NULL != req) {
|
||||
free (req);
|
||||
@ -1462,9 +1466,6 @@ int ompi_io_ompio_distribute_file_view (mca_io_ompio_file_t *fh,
|
||||
if (NULL != sendreq) {
|
||||
free (sendreq);
|
||||
}
|
||||
if (NULL != broken) {
|
||||
free (broken);
|
||||
}
|
||||
free (num_entries);
|
||||
free (broken_index);
|
||||
if (NULL != displs) {
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user