-
Notifications
You must be signed in to change notification settings - Fork 910
Closed
Labels
Description
It seems that vmctx
is memory-leaked here:
-
Function::new_with_env
wasmer/lib/api/src/externals/function.rs
Line 137 in 518e0f3
let vmctx = Box::into_raw(Box::new(dynamic_ctx)) as *mut VMContext; -
Function::new_native_with_env
wasmer/lib/api/src/externals/function.rs
Line 230 in 518e0f3
let vmctx = Box::into_raw(box_env) as *mut _ as *mut VMContext;