[U-Boot] [U-Boot,1/1] fs: fat: memory leak in fat_unlink()

Tom Rini
2018-10-07T00:29:22Z

On Tue, Oct 02, 2018 at 06:58:00AM +0200, Heinrich Schuchardt wrote:

> Do not leak filename_copy in case of error.
> Catch out of memory when calling strdup.
>
> This addresses Coverity Scan CID 184086.
>
> Reported-by: Tom Rini <trini@konsulko.com>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

Applied to u-boot/master, thanks!

--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181006/b58e7e47/attachment.sig>