aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorZhengchao Shao <[email protected]>2022-12-05 01:21:32 +0000
committerJakub Kicinski <[email protected]>2022-12-07 04:36:38 +0000
commit78a9ea43fc1a7c06a420b132d2d47cbf4344a5df (patch)
tree6cb63689fa164680dd7e4227acaa9750aadae253 /net/tipc/node.c
parentMerge branch 'ipv4-two-bug-fixes' (diff)
downloadkernel-78a9ea43fc1a7c06a420b132d2d47cbf4344a5df.tar.gz
kernel-78a9ea43fc1a7c06a420b132d2d47cbf4344a5df.zip
net: dsa: sja1105: fix memory leak in sja1105_setup_devlink_regions()
When dsa_devlink_region_create failed in sja1105_setup_devlink_regions(), priv->regions is not released. Fixes: bf425b82059e ("net: dsa: sja1105: expose static config as devlink region") Signed-off-by: Zhengchao Shao <[email protected]> Reviewed-by: Vladimir Oltean <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions