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

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

 



From: Geliang Tang <tanggeliang@xxxxxxxxxx>

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(-)

-- 
2.40.1





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux