Skip to content

Commit

Permalink
wasm3_engine: fix destructor
Browse files Browse the repository at this point in the history
  • Loading branch information
axic committed Jun 2, 2020
1 parent d3abae8 commit bf3f458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/utils/wasm3_engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Wasm3Engine : public WasmEngine

public:
Wasm3Engine() : m_env{m3_NewEnvironment()} {}
~Wasm3Engine()
~Wasm3Engine() override
{
if (m_runtime)
m3_FreeRuntime(m_runtime);
Expand Down

0 comments on commit bf3f458

Please sign in to comment.