Re: [PATCH][next] bpf: fix memory leak on object 'data'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux