diff options
| author | Zhang Qilong <zhangqilong3@huawei.com> | 2020-11-14 19:17:08 +0800 |
|---|---|---|
| committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2020-11-15 18:24:35 +0100 |
| commit | 7968c7c79d3be8987feb8021f0c46e6866831408 (patch) | |
| tree | a78f0205d647afa26ff231c60c54babe0f4b930f /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | can: dev: can_restart(): post buffer from the right context (diff) | |
| download | linux-7968c7c79d3be8987feb8021f0c46e6866831408.tar.gz linux-7968c7c79d3be8987feb8021f0c46e6866831408.zip | |
can: ti_hecc: Fix memleak in ti_hecc_probe
In the error handling, we should goto the probe_exit_candev
to free ndev to prevent memory leak.
Fixes: dabf54dd1c63 ("can: ti_hecc: Convert TI HECC driver to DT only driver")
Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Link: https://lore.kernel.org/r/20201114111708.3465543-1-zhangqilong3@huawei.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
