Home
last modified time | relevance | path

Searched hist:"0317724 e6c5db6229dbdc03dd9c9b68a559973fe" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/fs/sandbox/
H A Dsandboxfs.c0317724e6c5db6229dbdc03dd9c9b68a559973fe Tue Oct 18 01:09:32 UTC 2016 Tom Rini <trini@konsulko.com> sandboxfs: Fix resource leak

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 <stefan.bruens@rwth-aachen.de>
Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>