On Tue, Jan 7, 2020 at 11:27 PM Alexei Starovoitov <ast@xxxxxxxxxx> wrote: > + if (subprog) { > + ret = btf_prepare_func_args(env, subprog, regs); > + if (ret) > + return ret; noticed a memory leak here. Will respin with all comments addressed soon.
On Tue, Jan 7, 2020 at 11:27 PM Alexei Starovoitov <ast@xxxxxxxxxx> wrote: > + if (subprog) { > + ret = btf_prepare_func_args(env, subprog, regs); > + if (ret) > + return ret; noticed a memory leak here. Will respin with all comments addressed soon.