On Thu, May 16, 2019 at 09:34:31AM -0500, Andrew F. Davis wrote:
> fat_itr_root() allocates fatbuf so we free it on the exit path, if
> the function fails we should not free it, check the return value
> and skip freeing if the function fails.
>
> Signed-off-by: Andrew F. Davis
Applied to u-boot
fat_itr_root() allocates fatbuf so we free it on the exit path, if
the function fails we should not free it, check the return value
and skip freeing if the function fails.
Signed-off-by: Andrew F. Davis
---
fs/fat/fat.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a
2 matches
Mail list logo