diff options
author | 2013-10-11 15:35:45 -0300 | |
---|---|---|
committer | 2013-11-11 22:00:11 -0500 | |
commit | 03b2f08b5f96db5d07dba54ae008e9fdf1396e05 (patch) | |
tree | 36d9e492b02fc0f6debab21632a021e26206db01 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Btrfs: kill unused code in btrfs_search_forward (diff) | |
download | linux-dev-03b2f08b5f96db5d07dba54ae008e9fdf1396e05.tar.xz linux-dev-03b2f08b5f96db5d07dba54ae008e9fdf1396e05.zip |
btrfs: Fix memory leakage in the tree-log.c
In add_inode_ref() function:
Initializes local pointers.
Reduces the logical condition with the __add_inode_ref() return
value by using only one 'goto out'.
Centralizes the exiting, ensuring the freeing of all used memory.
Signed-off-by: Geyslan G. Bem <geyslan@gmail.com>
Reviewed-by: Stefan Behrens <sbehrens@giantdisaster.de>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions