diff options
| author | Larry Finger <Larry.Finger@lwfinger.net> | 2019-08-27 01:03:44 +0300 |
|---|---|---|
| committer | Kalle Valo <kvalo@codeaurora.org> | 2019-09-03 16:30:04 +0300 |
| commit | 8cc782cd997dc4eb3ac183228d563727884ba874 (patch) | |
| tree | 29e1b6d1aaef87b6d70d4e71b36277f65da9815c /tools/perf/scripts/python/stackcollapse.py | |
| parent | 84d31d3b6234919953855f758401279208ee3b58 (diff) | |
| download | linux-8cc782cd997dc4eb3ac183228d563727884ba874.tar.xz | |
rtlwifi: rtl_pci: Fix memory leak when hardware init fails
If the call to hw_init() fails for any of the drivers, the driver will
leak memory that was allocated in BT coexistence setup. Technically, each
of the drivers should have done this free; however placing it in rtl_pci
fixes all the drivers with only a single patch.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
