btl/openib: fix a double free
as reported by Coverity with CID 1287033
Этот коммит содержится в:
родитель
64ec498a20
Коммит
521317341d
@ -1853,6 +1853,7 @@ static int init_one_device(opal_list_t *btl_list, struct ibv_device* ib_dev)
|
||||
}
|
||||
}
|
||||
free(allowed_ports);
|
||||
allowed_ports = NULL;
|
||||
|
||||
/* If we made a BTL, check APM status and return. Otherwise, fall
|
||||
through and destroy everything */
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user