common/verbs: added a call to ompi_ibv_free_device_list.
the ompi_common_verbs_find_ports function had a call to ompi_ibv_get_device_list, but not to ompi_ibv_free_device_list. fixed by Alina, reviewed by Vasily/Mike. cmr=v1.8:reviewer=ompi-rm1.8 This commit was SVN r31200.
Этот коммит содержится в:
родитель
b8dddabcfb
Коммит
947233f539
@ -638,6 +638,7 @@ opal_list_t *ompi_common_verbs_find_ports(const char *if_include,
|
||||
}
|
||||
|
||||
/* All done! */
|
||||
ompi_ibv_free_device_list(devices);
|
||||
return port_list;
|
||||
|
||||
err_free_port_list:
|
||||
@ -646,6 +647,7 @@ opal_list_t *ompi_common_verbs_find_ports(const char *if_include,
|
||||
item = opal_list_remove_first(port_list)) {
|
||||
OBJ_RELEASE(item);
|
||||
}
|
||||
ompi_ibv_free_device_list(devices);
|
||||
|
||||
err_free_argv:
|
||||
if (NULL != if_sanity_list) {
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user