Add missing OBJ_RELEASE to ompi_attr_copy_all
Signed-off-by: Joseph Schuchart <schuchart@hlrs.de>
Этот коммит содержится в:
родитель
283cfbf16e
Коммит
dfc46180ea
@ -979,6 +979,7 @@ int ompi_attr_copy_all(ompi_attribute_type_t type, void *old_object,
|
|||||||
/* Did the callback return non-MPI_SUCCESS? */
|
/* Did the callback return non-MPI_SUCCESS? */
|
||||||
if (0 != err) {
|
if (0 != err) {
|
||||||
ret = err;
|
ret = err;
|
||||||
|
OBJ_RELEASE(new_attr);
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user