mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-09 22:28:21 +00:00
Fix wat and exports memory leak in all examples
This commit is contained in:
@@ -77,6 +77,7 @@ int main(int argc, const char* argv[]) {
|
||||
|
||||
printf("Results of `add_one`: %d\n", results_val[0].of.i32);
|
||||
|
||||
wasm_extern_vec_delete(&exports);
|
||||
wasm_store_delete(store);
|
||||
wasm_engine_delete(engine);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user