aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2018-05-09 14:58:48 +0100
committerJeff Kirsher <[email protected]>2018-05-11 12:22:22 -0700
commitc89ebb968f04c71e16e86c91caeacb045dc8f908 (patch)
treeb0d6be773af1ce70ea68ff33b655dceea60e976f /tools/perf/util/scripting-engines/trace-event-python.c
parentcf12aab67a2fb29342d833a6333a322aaccca2d0 (diff)
ixgbe: fix memory leak on ipsec allocation
The error clean up path kfree's adapter->ipsec and should be instead kfree'ing ipsec. Fix this. Also, the err1 error exit path does not need to kfree ipsec because this failure path was for the failed allocation of ipsec. Detected by CoverityScan, CID#146424 ("Resource Leak") Fixes: 63a67fe229ea ("ixgbe: add ipsec offload add and remove SA") Signed-off-by: Colin Ian King <[email protected]> Acked-by: Shannon Nelson <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions