diff --git a/libraries/chain/webassembly/runtimes/eos-vm-oc/executor.cpp b/libraries/chain/webassembly/runtimes/eos-vm-oc/executor.cpp index 8057c0e181..fe33ee3d0c 100644 --- a/libraries/chain/webassembly/runtimes/eos-vm-oc/executor.cpp +++ b/libraries/chain/webassembly/runtimes/eos-vm-oc/executor.cpp @@ -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); } }}}