]> Git Repo - J-u-boot.git/commit
fs: fat: memory leak in fat_unlink()
authorHeinrich Schuchardt <[email protected]>
Tue, 2 Oct 2018 04:58:00 +0000 (06:58 +0200)
committerTom Rini <[email protected]>
Sat, 6 Oct 2018 18:09:41 +0000 (14:09 -0400)
commit0d532e911cb7e67e151153289024183bc4f5b257
treecf3b415d7eb6ded438a95e1d16a2bfa2095eb0b0
parent46580f2fd569946f711af63002e2628b9ff109e3
fs: fat: memory leak in fat_unlink()

Do not leak filename_copy in case of error.
Catch out of memory when calling strdup.

Reported-by: Coverity (CID: 184086)
Signed-off-by: Heinrich Schuchardt <[email protected]>
fs/fat/fat_write.c
This page took 0.030166 seconds and 4 git commands to generate.