On 17 October 2016 at 19:54, Simon Glass <[email protected]> wrote:
> On 17 October 2016 at 19:09, Tom Rini <[email protected]> wrote:
>> Now that we free resources in sandbox_fs_ls Coverity is letting us know
>> that in some cases we might leak.  So in case of error we should still
>> let os_dirent_free free anything that was allocated.
>>
>> Fixes: 86167089b71c ("sandbox/fs: Free memory allocated by os_dirent_ls")
>> Reported-by: Coverity (CID: 153450)
>> Cc: Stefan BrĂ¼ns <[email protected]>
>> Cc: Simon Glass <[email protected]>
>> Signed-off-by: Tom Rini <[email protected]>
>> ---
>>  fs/sandbox/sandboxfs.c | 5 +++--
>>  1 file changed, 3 insertions(+), 2 deletions(-)
>
> Reviewed-by: Simon Glass <[email protected]>

Applied to u-boot-dm/next, thanks
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to