Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a7851ce7 authored by Oskar Schirmer's avatar Oskar Schirmer Committed by Steve French
Browse files

cifs: fix another memleak, in cifs_root_iget



cifs_root_iget allocates full_path through
cifs_build_path_to_root, but fails to kfree it upon
cifs_get_inode_info* failure.

Make all failure exit paths traverse clean up
handling at the end of the function.

Signed-off-by: default avatarOskar Schirmer <oskar@scara.com>
Reviewed-by: default avatarJesper Juhl <jj@chaosbits.net>
Cc: stable@kernel.org
Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent ebe2e91e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment