xa_destroy() needs to be called to destroy a virtual EPC's page array
before calling kfree() to free the virtual EPC. Currently it is not
called so add the missing xa_destroy().
Fixes:
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| driver.c | ||
| driver.h | ||
| encl.c | ||
| encl.h | ||
| encls.h | ||
| ioctl.c | ||
| main.c | ||
| sgx.h | ||
| virt.c | ||