diff options
author | 2014-04-09 09:18:04 +0900 | |
---|---|---|
committer | 2014-06-09 17:20:42 -0700 | |
commit | 59885b39303edc0b3284f324a1ca42cb6e7742d0 (patch) | |
tree | 0e04e1c1fc5b0c32407c46ade6548c49e10b42c3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: remove useless ACL check (diff) | |
download | linux-dev-59885b39303edc0b3284f324a1ca42cb6e7742d0.tar.xz linux-dev-59885b39303edc0b3284f324a1ca42cb6e7742d0.zip |
Btrfs: fix possible memory leak in btrfs_create_tree()
In btrfs_create_tree(), if btrfs_insert_root() fails, we should
free root->commit_root.
Reported-by: Alex Lyakas <alex@zadarastorage.com>
Signed-off-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions