1
1

Merge pull request #3076 from rhc54/topic/doublefree

Fix double-free in rml/ofi shutdown
Этот коммит содержится в:
Ralph Castain 2017-03-01 14:57:59 -08:00 коммит произвёл GitHub
родитель b0f8d2c460 c757c3d260
Коммит 4f810d5931

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

@ -209,17 +209,6 @@ rml_ofi_component_close(void)
free_ofi_prov_resources(ofi_prov_id);
}
/* release all peers from the hash table */
rc = opal_hash_table_get_first_key_uint64(&orte_rml_ofi.peers, &key,
(void **)&value, &node);
while (OPAL_SUCCESS == rc) {
if (NULL != value) {
OBJ_RELEASE(value);
}
rc = opal_hash_table_get_next_key_uint64 (&orte_rml_ofi.peers, &key,
(void **) &value, node, &node);
}
/* release all peers from the hash table */
rc = opal_hash_table_get_first_key_uint64(&orte_rml_ofi.peers, &key,
(void **)&value, &node);