btrfs-progs: clear_extent_bits: Fix memory leak.
authorchandan <chandan@linux.vnet.ibm.com>
Fri, 20 Sep 2013 18:22:11 +0000 (23:52 +0530)
committerChris Mason <chris.mason@fusionio.com>
Wed, 16 Oct 2013 12:23:11 +0000 (08:23 -0400)
commit120e27d76fb5748db1160baf1efe0ceef59452f0
tree172b7e368739955ff686670ab5e9bfbada290c17
parent1b10eaa8e1d453d65f571db47cd2207041835451
btrfs-progs: clear_extent_bits: Fix memory leak.

The 'prealloc' extent_state structure is leaked for the case when the 'desired
range' encapsulates/covers the 'extent range'.

Signed-off-by: chandan <chandan@linux.vnet.ibm.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
extent_io.c