diff options
author | Yuan Can <[email protected]> | 2022-12-07 08:54:10 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-12-09 10:52:43 +0000 |
commit | 01de1123322e4fe1bbd0fcdf0982511b55519c03 (patch) | |
tree | 07c054c18e78cacbddd76d0f12b95f5de7081961 /lib/mpi/mpi-sub-ui.c | |
parent | a137f3f27f9290933fe7e40e6dc8a445781c31a2 (diff) |
drivers: net: qlcnic: Fix potential memory leak in qlcnic_sriov_init()
If vp alloc failed in qlcnic_sriov_init(), all previously allocated vp
needs to be freed.
Fixes: f197a7aa6288 ("qlcnic: VF-PF communication channel implementation")
Signed-off-by: Yuan Can <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions