commit | 8cc782cd997dc4eb3ac183228d563727884ba874 | [log] [tgz] |
---|---|---|
author | Larry Finger <Larry.Finger@lwfinger.net> | Mon Aug 26 17:03:44 2019 -0500 |
committer | Kalle Valo <kvalo@codeaurora.org> | Tue Sep 03 16:30:04 2019 +0300 |
tree | 29e1b6d1aaef87b6d70d4e71b36277f65da9815c | |
parent | 84d31d3b6234919953855f758401279208ee3b58 [diff] |
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>