Btrfs: fix memory leak in start_transaction()
authorYoshinori Sano <yoshinori.sano@gmail.com>
Sun, 3 Apr 2011 12:31:28 +0000 (12:31 +0000)
committerChris Mason <chris.mason@oracle.com>
Tue, 5 Apr 2011 05:19:43 +0000 (01:19 -0400)
commit6e8df2ae89ab37730c0062782f844c66ecfc97a7
tree4172619b01d817440d43807da8baec77a14d39d2
parent8b2b2d3cbefb605501342adaf64d601b545ed154
Btrfs: fix memory leak in start_transaction()

Free btrfs_trans_handle when join_transaction() fails
in start_transaction()

Signed-off-by: Yoshinori Sano <yoshinori.sano@gmail.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/transaction.c