[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <F011BBCD-8D95-4934-AB3E-0F264990D4F2@holtmann.org>
Date: Fri, 29 Nov 2019 20:22:05 +0100
From: Marcel Holtmann <marcel@...tmann.org>
To: Colin King <colin.king@...onical.com>
Cc: Johan Hedberg <johan.hedberg@...il.com>,
Sean Wang <sean.wang@...iatek.com>,
Bluez mailing list <linux-bluetooth@...r.kernel.org>,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Bluetooth: btusb: fix memory leak on fw
Hi Colin,
> Currently the error return path when the call to btusb_mtk_hci_wmt_sync
> fails does not free fw. Fix this by returning via the error_release_fw
> label that performs the free'ing.
>
> Addresses-Coverity: ("Resource leak")
> Fixes: a1c49c434e15 ("Bluetooth: btusb: Add protocol support for MediaTek MT7668U USB devices")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
> ---
> drivers/bluetooth/btusb.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel
Powered by blists - more mailing lists