coll/base: fix memory free in ompi_coll_base_allreduce_intra_recursivedoubling err handler
Fix CID 1362630 Fixes open-mpi/ompi@0e393195d9
Этот коммит содержится в:
родитель
1f651d17c1
Коммит
80e362de52
@ -271,7 +271,7 @@ ompi_coll_base_allreduce_intra_recursivedoubling(const void *sbuf, void *rbuf,
|
||||
OPAL_OUTPUT((ompi_coll_base_framework.framework_output, "%s:%4d\tRank %d Error occurred %d\n",
|
||||
__FILE__, line, rank, ret));
|
||||
(void)line; // silence compiler warning
|
||||
if (NULL != inplacebuf) free(inplacebuf);
|
||||
if (NULL != inplacebuf_free) free(inplacebuf_free);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user