1
1

set ep to NULL to avoid double close

Per suggestion of @awlauria

Signed-off-by: Harumi Kuno <harumi.kuno@hpe.com>
Этот коммит содержится в:
Harumi Kuno 2020-03-10 17:39:59 -06:00
родитель 1bc3dab118
Коммит ab4875ddc2

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

@ -584,6 +584,7 @@ fail:
/* close basic ep before closing av */
if (NULL != ep && !module->is_scalable_ep) {
fi_close(&ep->fid);
ep = NULL;
}
/* if the contexts have not been initiated, num_contexts should