diff --git a/hv/hv.cpp b/hv/hv.cpp index b6c545d..f69e691 100644 --- a/hv/hv.cpp +++ b/hv/hv.cpp @@ -131,8 +131,6 @@ bool start() { KeRevertToUserAffinityThreadEx(orig_affinity); } - ExFreePoolWithTag(ghv.vcpus, 'fr0g'); - return true; } @@ -160,6 +158,8 @@ void stop() { KeRevertToUserAffinityThreadEx(orig_affinity); } + + ExFreePoolWithTag(ghv.vcpus, 'fr0g'); } } // namespace hv