commit | d737278091fccda77f6896012ba86c5ffb57993f | [log] [tgz] |
---|---|---|
author | Eric Sandeen <sandeen@redhat.com> | Thu Jun 12 00:14:59 2014 -0500 |
committer | Chris Mason <clm@fb.com> | Fri Jun 13 09:52:26 2014 -0700 |
tree | 41ccc9192cceeeaa0a8694b6c6d3a7e7fd71c43a | |
parent | b050f9f6ddefe5de9c130fda6493ccaacd5168ba [diff] |
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>