aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2021-01-07 12:39:16 +0000
committerJakub Kicinski <[email protected]>2021-01-07 18:39:04 -0800
commitac7996d680d8b4a51bb99bbdcee3dc838b985498 (patch)
tree70699701825d4b3c51ce7ed908147c5c01c408af /scripts/gdb/linux/utils.py
parent85bd6055e3529e9b193b4460f5b13a47da354027 (diff)
octeontx2-af: fix memory leak of lmac and lmac->name
Currently the error return paths don't kfree lmac and lmac->name leading to some memory leaks. Fix this by adding two error return paths that kfree these objects Addresses-Coverity: ("Resource leak") Fixes: 1463f382f58d ("octeontx2-af: Add support for CGX link management") Signed-off-by: Colin Ian King <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions