aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorNavid Emamdoost <[email protected]>2019-09-29 01:43:39 +0300
committerDavid S. Miller <[email protected]>2019-09-30 17:24:43 -0700
commit68501df92d116b760777a2cfda314789f926476f (patch)
tree90b3c9a7b7b01615ac06e42c264a404d4aae11d7 /tools/perf/util/trace-event-scripting.c
parentb6f2494d311a19b33b19708543e7ef6dea1de459 (diff)
net: dsa: sja1105: Prevent leaking memory
In sja1105_static_config_upload, in two cases memory is leaked: when static_config_buf_prepare_for_upload fails and when sja1105_inhibit_tx fails. In both cases config_buf should be released. Fixes: 8aa9ebccae87 ("net: dsa: Introduce driver for NXP SJA1105 5-port L2 switch") Fixes: 1a4c69406cc1 ("net: dsa: sja1105: Prevent PHY jabbering during switch reset") Signed-off-by: Navid Emamdoost <[email protected]> Signed-off-by: Vladimir Oltean <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions