Skip to content
Commit 27d46133 authored by Navid Emamdoost's avatar Navid Emamdoost Committed by Jeff Kirsher
Browse files

i40e: prevent memory leak in i40e_setup_macvlans



In i40e_setup_macvlans if i40e_setup_channel fails the allocated memory
for ch should be released.

Signed-off-by: default avatarNavid Emamdoost <navid.emamdoost@gmail.com>
Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 621650ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment