Btrfs: fix memory leak in start_transaction()
authorMiao Xie <miaox@cn.fujitsu.com>
Thu, 20 Sep 2012 04:14:29 +0000 (22:14 -0600)
committerChris Mason <chris.mason@fusionio.com>
Tue, 9 Oct 2012 13:15:38 +0000 (09:15 -0400)
commite8830e606ffee383f073e32313f11fc5692813fe
tree1d11a33e8d59736ad35018da316383eb64c63527
parentd24bec3ae528a47149b838aad76c006d40fe8a39
Btrfs: fix memory leak in start_transaction()

This patch fixes memory leak of the transaction handle which happened
when starting transaction failed on a freezed fs.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
fs/btrfs/transaction.c