mirror of
https://github.com/falcosecurity/falco.git
synced 2025-07-17 08:11:32 +00:00
update(userspace/falco): avoid memory allocation for falco output
response Co-Authored-By: Leonardo Di Donato <leodidonato@gmail.com> Signed-off-by: Lorenzo Fontana <lo@linux.com>
This commit is contained in:
parent
869d883dc7
commit
9eb0b7fb5f
@ -315,7 +315,7 @@ int falco_outputs::handle_grpc(lua_State *ls)
|
|||||||
lua_error(ls);
|
lua_error(ls);
|
||||||
}
|
}
|
||||||
|
|
||||||
auto grpc_res = falco::outputs::response();
|
falco::outputs::response grpc_res;
|
||||||
|
|
||||||
// time
|
// time
|
||||||
gen_event *evt = (gen_event *)lua_topointer(ls, 1);
|
gen_event *evt = (gen_event *)lua_topointer(ls, 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user