[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <E5153D2C-A52F-4BA8-8B79-A19338BDC12D@holtmann.org>
Date: Tue, 21 Aug 2018 16:57:11 +0200
From: Marcel Holtmann <marcel@...tmann.org>
To: "Gustavo A. R. Silva" <gustavo@...eddedor.com>
Cc: Sean Wang <sean.wang@...iatek.com>,
Johan Hedberg <johan.hedberg@...il.com>,
Matthias Brugger <matthias.bgg@...il.com>,
linux-bluetooth@...r.kernel.org,
linux-mediatek@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Bluetooth: mediatek: Fix memory leak
Hi Gustavo,
> In case memory resources for *fw* were allocated, release them before
> return.
>
> Addresses-Coverity-ID: 1472611 ("Resource leak")
> Fixes: 7237c4c9ec92 ("Bluetooth: mediatek: Add protocol support for MediaTek serial devices")
> Signed-off-by: Gustavo A. R. Silva <gustavo@...eddedor.com>
> ---
> drivers/bluetooth/btmtkuart.c | 8 +++++---
> 1 file changed, 5 insertions(+), 3 deletions(-)
patch has been applied to bluetooth-stable tree.
Regards
Marcel
Powered by blists - more mailing lists