]> Git Repo - linux.git/commit - fs/cifs/inode.c
cifs: fix another memleak, in cifs_root_iget
authorOskar Schirmer <[email protected]>
Wed, 10 Nov 2010 21:06:13 +0000 (21:06 +0000)
committerSteve French <[email protected]>
Thu, 11 Nov 2010 03:40:13 +0000 (03:40 +0000)
commita7851ce73b9fdef53f251420e6883cf4f3766534
treecbf63df689b3e28769555f294e69b86bbac9981c
parentebe2e91e000c59aed0300d81815f451c85e0bda6
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: Oskar Schirmer <[email protected]>
Reviewed-by: Jesper Juhl <[email protected]>
Cc: [email protected]
Signed-off-by: Steve French <[email protected]>
fs/cifs/inode.c
This page took 0.054317 seconds and 4 git commands to generate.