1
1

Just some cleanup in case of error

This commit was SVN r25387.
Этот коммит содержится в:
Ralph Castain 2011-10-29 01:55:19 +00:00
родитель 7fa5f82d70
Коммит 21d45b0807

Просмотреть файл

@ -77,12 +77,14 @@ int opal_hwloc_unpack(opal_buffer_t *buffer, void *dest,
if (0 != hwloc_topology_set_flags(t, HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM)) {
free(xmlbuffer);
rc = OPAL_ERROR;
hwloc_topology_destroy(t);
goto cleanup;
}
/* now load the topology */
if (0 != hwloc_topology_load(t)) {
free(xmlbuffer);
rc = OPAL_ERROR;
hwloc_topology_destroy(t);
goto cleanup;
}
if (NULL != xmlbuffer) {