diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-06-20 15:28:06 +0200 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-06-25 11:30:50 -0700 |
commit | b81c191c468bb9f9e63cb19cdf090732e3218dce (patch) | |
tree | 02e13ab3063bf1317a007140ba092462a4738529 /drivers/net/ethernet/intel/igc/igc_main.c | |
parent | 70fa0a078099881c1e0553a7c351a28a575afcfc (diff) |
ice: Fix a memory leak in an error handling path in 'ice_pf_dcb_cfg()'
If this 'kzalloc()' fails we must free some resources as in all the other
error handling paths of this function.
Fixes: 348048e724a0 ("ice: Implement iidc operations")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions