1
1

Only free the opal_byte_object_t if the fetch operation was succesful.

This commit was SVN r28208.
Этот коммит содержится в:
George Bosilca 2013-03-25 00:36:57 +00:00
родитель 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;
}