ext4: Fix memory and buffer head leak in callers to ext4_ext_find_extent()
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Mon, 25 Feb 2008 21:54:37 +0000 (16:54 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 25 Feb 2008 21:54:37 +0000 (16:54 -0500)
The path variable returned via ext4_ext_find_extent is a kmalloc
variable and needs to be freeded.  It also contains a reference to
buffer_head which needs to be dropped.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>

No differences found