Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bnxt_en: fix memory leak in bnxt_nvm_test()
Free the kzalloc'ed buffer before returning in the success path. Fixes: 5b6ff12 ("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]>
- Loading branch information