Only free the opal_byte_object_t if the fetch operation was succesful.
This commit was SVN r28208.
Этот коммит содержится в:
родитель
9c68e60965
Коммит
ab2ae0835a
@ -77,11 +77,11 @@ ompi_modex_recv(const mca_base_component_t *component,
|
||||
/* xfer the data - it was allocated in the call */
|
||||
*buffer = (void*)boptr->bytes;
|
||||
*size = boptr->size;
|
||||
/* we no longer require the struct itself since all we
|
||||
* wanted was the data inside it
|
||||
*/
|
||||
free(boptr);
|
||||
}
|
||||
/* we no longer require the struct itself since all we
|
||||
* wanted was the data inside it
|
||||
*/
|
||||
free(boptr);
|
||||
free(key);
|
||||
return rc;
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user