aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorJoe Perches <[email protected]>2014-12-08 04:28:39 +0000
committerJeff Kirsher <[email protected]>2014-12-31 15:40:12 -0800
commite3fe44c75913076b06ca0d0b79c21ce326ce3ef8 (patch)
tree3785b79c9b4fe9b241e4759889a6c12da3187bf4 /net/lapb/lapb_iface.c
parent2184aa3d0f6f952ca55b9daeaeb9d1e3d6b74a83 (diff)
i40e: Fix possible memory leak in i40e_dbg_dump_desc
I didn't notice that return in the code, fix it by adding a goto out instead to free the memory. Fixes: > New smatch warnings: > drivers/net/ethernet/intel/i40e/i40e_debugfs.c:832 i40e_dbg_dump_desc() warn: possible memory leak of 'ring' Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Joe Perches <[email protected]> Tested-by: Jim Young <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions