瀏覽代碼

Correct mistake in documentation (#198)

Rochet2 6 年之前
父節點
當前提交
ef5ceffe71
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      doc/embed_wamr.md

+ 1 - 1
doc/embed_wamr.md

@@ -196,7 +196,7 @@ if(buffer_for_wasm != 0)
     
     
     // it is runtime responsibility to release the memory,
     // it is runtime responsibility to release the memory,
     // unless the WASM app will free the passed pointer in its code
     // unless the WASM app will free the passed pointer in its code
-    wasm_runtime_module_free(module_inst, buffer);
+    wasm_runtime_module_free(module_inst, buffer_for_wasm);
 }
 }
 
 
 ```
 ```