mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 23:58:05 +00:00
Fix warning
Coverity reports a warning due to unitialized attr structure in one code path. Reported by Coverity (CID 728535) Signed-off-by: Steve French <smfrench@gmail.com> Reviewed-by: Jeff Layton <jlayton@samba.org>
This commit is contained in:
parent
dfebe40076
commit
4c5930e805
1 changed files with 2 additions and 0 deletions
|
@ -771,6 +771,8 @@ cifs_get_inode_info(struct inode **inode, const char *full_path,
|
|||
cifs_buf_release(srchinf->ntwrk_buf_start);
|
||||
}
|
||||
kfree(srchinf);
|
||||
if (rc)
|
||||
goto cgii_exit;
|
||||
} else
|
||||
goto cgii_exit;
|
||||
|
||||
|
|
Loading…
Reference in a new issue