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:
|
||
---|---|---|
.. | ||
driver.c | ||
driver.h | ||
encl.c | ||
encl.h | ||
encls.h | ||
ioctl.c | ||
main.c | ||
Makefile | ||
sgx.h | ||
virt.c |