From 6107d0e10d921745261a3f9767cade00843307ea Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Tue, 30 Jun 2020 16:01:03 +0100 Subject: [PATCH] f --- test/utils/wasm3_engine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/utils/wasm3_engine.cpp b/test/utils/wasm3_engine.cpp index cb890c2bf..642e52160 100644 --- a/test/utils/wasm3_engine.cpp +++ b/test/utils/wasm3_engine.cpp @@ -84,9 +84,9 @@ bool Wasm3Engine::instantiate(bytes_view wasm_binary) // Transfers ownership to runtime. if (m3_LoadModule(m_runtime, module) != m3Err_none) { - m3_FreeModule(module); +// m3_FreeModule(module); // NOTE: it seems this is needed, but likely is a bug... - m_runtime = nullptr; +// m_runtime = nullptr; return false; }