Skip to content

Commit

Permalink
fix memory leak when using cloak
Browse files Browse the repository at this point in the history
  • Loading branch information
cheat-engine committed Oct 29, 2020
1 parent 86a4f14 commit 25a823a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dbvm/vmm/epthandler.c
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,10 @@ int ept_cloak_deactivate(QWORD physicalAddress)
}

unmapPhysicalMemoryGlobal(cloakdata->Executable, 4096);

free(cloakdata->Data);
cloakdata->Data=NULL;

free(cloakdata);
}

Expand Down

0 comments on commit 25a823a

Please sign in to comment.