Ver Fonte

Correct mistake in documentation (#198)

Rochet2 há 5 anos atrás
pai
commit
ef5ceffe71
1 ficheiros alterados com 1 adições e 1 exclusões
  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,
     // 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);
 }
 
 ```