On Mon, Nov 18, 2019 at 3:41 AM Colin King <colin.king@xxxxxxxxxxxxx> wrote: > > From: Colin Ian King <colin.king@xxxxxxxxxxxxx> > > The error return path on when bpf_fentry_test* tests fail does not > kfree 'data'. Fix this by adding the missing kfree. > > Addresses-Coverity: ("Resource leak") > Fixes: faeb2dce084a ("bpf: Add kernel test functions for fentry testing") > Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx> Applied. Thanks