Re: [PATCH] fsi: master-ast-cf: Fix memory leak
From: Gustavo A. R. Silva
Date: Wed Jul 25 2018 - 20:26:22 EST
On 07/25/2018 06:45 PM, Benjamin Herrenschmidt wrote:
> On Wed, 2018-07-25 at 08:38 -0500, Gustavo A. R. Silva wrote:
>> In case memory resources for *fw* were allocated, release them
>> before return.
>>
>> Addresses-Coverity-ID: 1472044 ("Resource leak")
>> Fixes: 6a794a27daca ("fsi: master-ast-cf: Add new FSI master using Aspeed ColdFire")
>> Signed-off-by: Gustavo A. R. Silva <gustavo@xxxxxxxxxxxxxx>
>
> Thanks Gustavo !
>
Glad to help. :)
> I'll apply before I send my next pull request to Greg !
>
Thanks
--
Gustavo