Closed
Description
If I am not mistaking the FFI function ngx_http_wasm_ffi_plan_new
leaks the plan struct memory as it is allocated in the VM pool and then the pointer is never deallocated.
Allocated in this function here https://github.com/Kong/ngx_wasm_module/blob/main/src/common/lua/ngx_wasm_lua_ffi.c#L48.
And never deallocated.