Skip to content

Commit

Permalink
Merge pull request #1499 from AntelopeIO/leaky_oc_exec_mapping
Browse files Browse the repository at this point in the history
fix leaky EOS VM OC executor code mapping
  • Loading branch information
spoonincode authored Aug 16, 2023
2 parents 4b8fe6a + e9ace45 commit 26542ab
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 26542ab

Please sign in to comment.