diff options
author | José Expósito <[email protected]> | 2021-12-09 12:05:40 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2021-12-09 08:09:28 -0800 |
commit | e8b1d7698038e76363859fb47ae0a262080646f5 (patch) | |
tree | 9811e3d300999a08b9c7860e0f9646dcff998289 /scripts/clang-tools/gen_compile_commands.py | |
parent | 37ad4e2a77180841dffb1df64cdbd95541512d3d (diff) |
net: dsa: felix: Fix memory leak in felix_setup_mmio_filtering
Avoid a memory leak if there is not a CPU port defined.
Fixes: 8d5f7954b7c8 ("net: dsa: felix: break at first CPU port during init and teardown")
Addresses-Coverity-ID: 1492897 ("Resource leak")
Addresses-Coverity-ID: 1492899 ("Resource leak")
Signed-off-by: José Expósito <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions