diff options
author | 2019-08-26 17:03:44 -0500 | |
---|---|---|
committer | 2019-09-03 16:30:04 +0300 | |
commit | 8cc782cd997dc4eb3ac183228d563727884ba874 (patch) | |
tree | 29e1b6d1aaef87b6d70d4e71b36277f65da9815c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | rtlwifi: remove unused variables 'RTL8712_SDIO_EFUSE_TABLE' and 'MAX_PGPKT_SIZE' (diff) | |
download | linux-dev-8cc782cd997dc4eb3ac183228d563727884ba874.tar.xz linux-dev-8cc782cd997dc4eb3ac183228d563727884ba874.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions