commit | a7851ce73b9fdef53f251420e6883cf4f3766534 | [log] [tgz] |
---|---|---|
author | Oskar Schirmer <oskar@scara.com> | Wed Nov 10 21:06:13 2010 +0000 |
committer | Steve French <sfrench@us.ibm.com> | Thu Nov 11 03:40:13 2010 +0000 |
tree | cbf63df689b3e28769555f294e69b86bbac9981c | |
parent | ebe2e91e000c59aed0300d81815f451c85e0bda6 [diff] |
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 <oskar@scara.com> Reviewed-by: Jesper Juhl <jj@chaosbits.net> Cc: stable@kernel.org Signed-off-by: Steve French <sfrench@us.ibm.com>