Skip to content

Commit

Permalink
fix leaky EOS VM OC executor code mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
spoonincode committed Aug 15, 2023
1 parent 2ce7b22 commit e9ace45
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ void executor::execute(const code_descriptor& code, memory& mem, apply_context&

executor::~executor() {
arch_prctl(ARCH_SET_GS, nullptr);
munmap(code_mapping, code_mapping_size);
}

}}}

0 comments on commit e9ace45

Please sign in to comment.