summaryrefslogtreecommitdiff
path: root/net/dns.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-10-18 01:09:32 (GMT)
committerSimon Glass <sjg@chromium.org>2016-12-02 17:37:47 (GMT)
commit0317724e6c5db6229dbdc03dd9c9b68a559973fe (patch)
treebf9dd795848f7d1c2a8202c5888a51563af1ecdc /net/dns.c
parenta982b6f5149387d931442837f598c9589bbd12bf (diff)
downloadu-boot-fsl-qoriq-0317724e6c5db6229dbdc03dd9c9b68a559973fe.tar.xz
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>
Diffstat (limited to 'net/dns.c')
0 files changed, 0 insertions, 0 deletions