Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
axic committed Jun 30, 2020
1 parent d742d39 commit 6107d0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/utils/wasm3_engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 6107d0e

Please sign in to comment.