diff options
author | Dinghao Liu <dinghao.liu@zju.edu.cn> | 2021-09-22 21:49:45 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-18 19:16:24 +0100 |
commit | 5481612c471f513b9142ddfc67229dd53f7f09e4 (patch) | |
tree | f68d6cd41704cc715475410db84a3c45294a3d2d /drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c | |
parent | 7bcbced2534bed9b95e31b356bd0426c01a3c42e (diff) |
Bluetooth: btmtkuart: fix a memleak in mtk_hci_wmt_sync
[ Upstream commit 3e5f2d90c28f9454e421108554707620bc23269d ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c')
0 files changed, 0 insertions, 0 deletions