mbox series

[net,v2,0/5] net: microchip: sparx5: Fix some memory leaks in vcap_api_kunit

Message ID 20230909080207.1174597-1-ruanjinjie@huawei.com (mailing list archive)
Headers show
Series net: microchip: sparx5: Fix some memory leaks in vcap_api_kunit | expand

Message

Jinjie Ruan Sept. 9, 2023, 8:02 a.m. UTC
There are some memory leaks in vcap_api_kunit, this patchset
fixes them.

Changes in v2:
- Adhere to the 80 character limit in vcap_free_caf()
- Fix kernel test robot reported warnings in test_vcap_xn_rule_creator()

Jinjie Ruan (5):
  net: microchip: sparx5: Fix memory leak for
    vcap_api_rule_add_keyvalue_test()
  net: microchip: sparx5: Fix memory leak for
    vcap_api_rule_add_actionvalue_test()
  net: microchip: sparx5: Fix possible memory leak in
    vcap_api_encode_rule_test()
  net: microchip: sparx5: Fix possible memory leaks in
    test_vcap_xn_rule_creator()
  net: microchip: sparx5: Fix possible memory leaks in vcap_api_kunit

 .../ethernet/microchip/vcap/vcap_api_kunit.c  | 59 +++++++++++++++++--
 1 file changed, 54 insertions(+), 5 deletions(-)