Re: [PATCH] bluetooth: fix memory leak in btusb_mtk_wmt_recv

2021-02-01 Thread Marcel Holtmann
Hi Jupeng, In btusb_mtk_wmt_recv if skb_clone fails, the alocated skb should be released. Signed-off-by: zhongjupeng >>> >>> please provide a proper From: and Signed-off-by line with full name. >>> >>> Regards >>> >>> Marcel >> >> Hi, >> >> >>Update the patch

[PATCH] bluetooth: fix memory leak in btusb_mtk_wmt_recv

2021-01-28 Thread zjp734690220
From: zhongjupeng In btusb_mtk_wmt_recv if skb_clone fails, the alocated skb should be released. Signed-off-by: zhongjupeng --- drivers/bluetooth/btusb.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index ffec6bc..