[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <0A2A956F-C10C-401E-9D87-416FE8A8E597@holtmann.org>
Date: Mon, 31 Aug 2020 18:04:13 +0200
From: Marcel Holtmann <marcel@...tmann.org>
To: Dinghao Liu <dinghao.liu@....edu.cn>
Cc: kjlu@....edu, Johan Hedberg <johan.hedberg@...il.com>,
linux-bluetooth@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Bluetooth: btusb: Fix memleak in
btusb_mtk_submit_wmt_recv_urb
Hi Dinghao,
> When kmalloc() on buf fails, urb should be freed just like
> when kmalloc() on dr fails.
>
> Signed-off-by: Dinghao Liu <dinghao.liu@....edu.cn>
> ---
> drivers/bluetooth/btusb.c | 1 +
> 1 file changed, 1 insertion(+)
patch has been applied to bluetooth-next tree.
Regards
Marcel
Powered by blists - more mailing lists