We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78c525d commit dc53653Copy full SHA for dc53653
product-mini/platforms/linux-sgx/enclave-sample/Enclave/Enclave.cpp
@@ -148,6 +148,7 @@ handle_cmd_load_module(uint64 *args, uint32 argc)
148
if (!(enclave_module->module =
149
wasm_runtime_load(enclave_module->wasm_file, wasm_file_size,
150
error_buf, error_buf_size))) {
151
+ wasm_runtime_free(enclave_module);
152
*(void **)args_org = NULL;
153
return;
154
}
0 commit comments