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