Skip to content

Free strdup memory in selftests

Geliang Tang bpf linux-kselftest 1 version Applied

Status from this message: This series was applied to bpf/bpf-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2selftests/bpf: Free strdup memory in test_sockmaptools/testing/selftests/bpf/test_sockmap.c+8 -22 repliesApplied
2/2selftests/bpf: Free strdup memory in veristattools/testing/selftests/bpf/veristat.c+4 -12 repliesApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchYonghong SongJohn Fastabend
1/2A-b A-b
2/2A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH bpf-next 0/2] Free strdup memory in selftests

From: Geliang Tang <[email protected]>

Two fixes to free strdup memory in selftests to avoid memory leaks.

Geliang Tang (2):
selftests/bpf: Free strdup memory in test_sockmap selftests/bpf: Free strdup memory in veristat

 tools/testing/selftests/bpf/test_sockmap.c | 10 ++++++++--
 tools/testing/selftests/bpf/veristat.c     |  5 ++++-
 2 files changed, 12 insertions(+), 3 deletions(-)
Signature · 1 line
2.40.1