btrfs-progs: free bits in check_extents()
authorZach Brown <zab@redhat.com>
Wed, 23 Jan 2013 22:55:31 +0000 (14:55 -0800)
committerZach Brown <zab@redhat.com>
Wed, 6 Feb 2013 00:09:40 +0000 (16:09 -0800)
As far as I can tell, nothing took the address of this.

Signed-off-by: Zach Brown <zab@redhat.com>
btrfsck.c

index 5897ff2..a7b4791 100644 (file)
--- a/btrfsck.c
+++ b/btrfsck.c
@@ -3520,6 +3520,7 @@ static int check_extents(struct btrfs_trans_handle *trans,
                root->fs_info->corrupt_blocks = NULL;
        }
 
+       free(bits);
        return ret;
 }