From bf3f45880bf98312876d483b14d17e4fe18f81e0 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Sat, 25 Apr 2020 11:15:42 +0100 Subject: [PATCH] wasm3_engine: fix destructor --- test/utils/wasm3_engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/utils/wasm3_engine.cpp b/test/utils/wasm3_engine.cpp index d18e93171..1b16e9f7c 100644 --- a/test/utils/wasm3_engine.cpp +++ b/test/utils/wasm3_engine.cpp @@ -20,7 +20,7 @@ class Wasm3Engine : public WasmEngine public: Wasm3Engine() : m_env{m3_NewEnvironment()} {} - ~Wasm3Engine() + ~Wasm3Engine() override { if (m_runtime) m3_FreeRuntime(m_runtime);