Skip to content

Commit ef5ceff

Browse files
authored
Correct mistake in documentation (#198)
1 parent 751a3b5 commit ef5ceff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/embed_wamr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ if(buffer_for_wasm != 0)
196196

197197
// it is runtime responsibility to release the memory,
198198
// unless the WASM app will free the passed pointer in its code
199-
wasm_runtime_module_free(module_inst, buffer);
199+
wasm_runtime_module_free(module_inst, buffer_for_wasm);
200200
}
201201

202202
```

0 commit comments

Comments
 (0)