Andrii Nakryiko <andrii@xxxxxxxxxx> writes: > Ensure that libbpf_netlink_recv() frees dynamically allocated buffer in > all code paths. > > Cc: Toke Høiland-Jørgensen <toke@xxxxxxxxxx> > Fixes: 9c3de619e13e ("libbpf: Use dynamically allocated buffer when receiving netlink messages") > Signed-off-by: Andrii Nakryiko <andrii@xxxxxxxxxx> Oops! I saw there were already 'goto done' labels in that block of code so assumed it was all fine and didn't look closer. Thank you for the fix! -Toke Acked-by: Toke Høiland-Jørgensen <toke@xxxxxxxxxx>