summaryrefslogtreecommitdiffstats
path: root/block/blk-mq-tag.h
diff options
context:
space:
mode:
authorDinghao Liu <dinghao.liu@zju.edu.cn>2021-09-22 21:49:45 +0800
committerMarcel Holtmann <marcel@holtmann.org>2021-09-22 16:15:54 +0200
commit3e5f2d90c28f9454e421108554707620bc23269d (patch)
tree81cadf1ef5deff23807adf63aec496c398b79783 /block/blk-mq-tag.h
parentc05731d0c6bd9a625e27ea5c5157ebf1303229e0 (diff)
downloadlinux-3e5f2d90c28f9454e421108554707620bc23269d.tar.bz2
Bluetooth: btmtkuart: fix a memleak in mtk_hci_wmt_sync
bdev->evt_skb will get freed in the normal path and one error path of mtk_hci_wmt_sync, while the other error paths do not free it, which may cause a memleak. This bug is suggested by a static analysis tool, please advise. Fixes: e0b67035a90b ("Bluetooth: mediatek: update the common setup between MT7622 and other devices") Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'block/blk-mq-tag.h')
0 files changed, 0 insertions, 0 deletions