Add missing destruction of mutex.

MFC after:	1 week
Sponsored by:	Mellanox Technologies
This commit is contained in:
hselasky 2016-05-11 10:06:58 +00:00
parent ae12c4ca15
commit c897e8c2f1

View File

@ -87,6 +87,7 @@ idr_destroy(struct idr *idr)
free(il, M_IDR);
}
mtx_unlock(&idr->lock);
mtx_destroy(&idr->lock);
}
static void