diff options
author | zhangxiaoxu <[email protected]> | 2020-11-09 09:44:16 -0500 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2020-11-10 17:49:06 -0800 |
commit | 2bae900b9419db3f3e43bbda3194657235fee096 (patch) | |
tree | a5811e5c09c9e407aace0c22fd0312902290026e /tools/perf/util/trace-event-scripting.c | |
parent | 909172a149749242990a6e64cb55d55460d4e417 (diff) |
net: dsa: mv88e6xxx: Fix memleak in mv88e6xxx_region_atu_snapshot
When mv88e6xxx_fid_map return error, we lost free the table.
Fix it.
Fixes: bfb255428966 ("net: dsa: mv88e6xxx: Add devlink regions")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: zhangxiaoxu <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions