Re: [PATCH v2] memory: brcmstb_dpfe: Fix memory leak
From: Florian Fainelli
Date: Thu Aug 20 2020 - 13:49:01 EST
On 8/20/20 10:21 AM, Alex Dewar wrote:
> In brcmstb_dpfe_download_firmware(), memory is allocated to variable fw by
> firmware_request_nowarn(), but never released. Fix up to release fw on
> all return paths.
>
> Signed-off-by: Alex Dewar <alex.dewar90@xxxxxxxxx>
Acked-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
Fixes: 2f330caff577 ("memory: brcmstb: Add driver for DPFE")
--
Florian