From 3fab2bfe2d0a8566a941545995cee32d40ff276a Mon Sep 17 00:00:00 2001 From: jono <26609800+jonomango@users.noreply.github.com> Date: Sat, 18 Jun 2022 19:02:31 -0700 Subject: [PATCH] fixed a big oopsie. --- hv/hv.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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