diff options
author | Vikas Gupta <[email protected]> | 2022-10-17 11:32:22 -0400 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-10-18 19:18:02 -0700 |
commit | ba077d683d45190afc993c1ce45bcdbfda741a40 (patch) | |
tree | 9a8aa06883b3334ffb4e064a14746c11c4fe7782 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 1ca695207ed2271ecbf8ee6c641970f621c157cc (diff) |
bnxt_en: fix memory leak in bnxt_nvm_test()
Free the kzalloc'ed buffer before returning in the success path.
Fixes: 5b6ff128fdf6 ("bnxt_en: implement callbacks for devlink selftests")
Signed-off-by: Vikas Gupta <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions