diff options
author | 2021-04-13 22:52:08 +0500 | |
---|---|---|
committer | 2021-06-26 07:12:25 +0200 | |
commit | 44e936d7459cac598d9fe0b6d23cc9d12b648d5e (patch) | |
tree | 6c467228768b82a2038486f039afdbbacf8f9317 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Bluetooth: btusb: Add support for Lite-On Mediatek Chip (diff) | |
download | linux-dev-44e936d7459cac598d9fe0b6d23cc9d12b648d5e.tar.xz linux-dev-44e936d7459cac598d9fe0b6d23cc9d12b648d5e.zip |
Bluetooth: btusb: fix memory leak
If btusb_mtk_submit_wmt_recv_urb returns error, wc should be freed and
then error should be returned to prevent memory leak.
Addresses-Coverity: ("Prevent memory leak")
Fixes: 4cbb375e997d ("Bluetooth: btusb: Fixed too many in-token issue for Mediatek Chip.")
Signed-off-by: Muhammad Usama Anjum <musamaanjum@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions