set ep to NULL to avoid double close
Per suggestion of @awlauria Signed-off-by: Harumi Kuno <harumi.kuno@hpe.com>
Этот коммит содержится в:
родитель
1bc3dab118
Коммит
ab4875ddc2
@ -584,6 +584,7 @@ fail:
|
|||||||
/* close basic ep before closing av */
|
/* close basic ep before closing av */
|
||||||
if (NULL != ep && !module->is_scalable_ep) {
|
if (NULL != ep && !module->is_scalable_ep) {
|
||||||
fi_close(&ep->fid);
|
fi_close(&ep->fid);
|
||||||
|
ep = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* if the contexts have not been initiated, num_contexts should
|
/* if the contexts have not been initiated, num_contexts should
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user