summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/transaction.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2014-06-12 07:14:59 +0200
committerChris Mason <clm@fb.com>2014-06-13 18:52:26 +0200
commitd737278091fccda77f6896012ba86c5ffb57993f (patch)
tree41ccc9192cceeeaa0a8694b6c6d3a7e7fd71c43a /fs/btrfs/transaction.c
parentBtrfs: fix qgroups sanity test crash or hang (diff)
downloadlinux-d737278091fccda77f6896012ba86c5ffb57993f.tar.xz
linux-d737278091fccda77f6896012ba86c5ffb57993f.zip
btrfs: free ulist in qgroup_shared_accounting() error path
If tmp = ulist_alloc(GFP_NOFS) fails, we return without freeing the previously allocated qgroups = ulist_alloc(GFP_NOFS) and cause a memory leak. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions