Przeglądaj źródła

Correct mistake in documentation (#198)

Rochet2 5 lat temu
rodzic
commit
ef5ceffe71
1 zmienionych plików z 1 dodań i 1 usunięć
  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);
 }
 
 ```