ocfs2: free path in ocfs2_remove_inode_range()
authorYounger Liu <younger.liu@huawei.com>
Wed, 11 Sep 2013 21:19:59 +0000 (14:19 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:56:50 +0000 (15:56 -0700)
commit7aebff18b91ebdefe15bb7d3f5d711df8312a7fb
treee8073825aa576aa2e56955a18a40fd27df3cb08a
parent6cae6d3189ef34647bca9b9b1d240ebd760e5dea
ocfs2: free path in ocfs2_remove_inode_range()

In ocfs2_remove_inode_range(), there is a memory leak.  The variable path
has allocated memory with ocfs2_new_path_from_et(), but it is not free.

Signed-off-by: Younger Liu <younger.liu@huawei.com>
Reviewed-by: Jie Liu <jeff.liu@oracle.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ocfs2/file.c