diff options
| author | Josef Bacik <jbacik@fb.com> | 2016-09-02 15:25:43 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-06 11:16:10 +0100 |
| commit | 5a9b659edef60fb665786525528086b5df5e0e19 (patch) | |
| tree | 5e9a6d95caf18464721104fa5a54ee92b2a31223 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 8ca6845a58cda0cda9359eb313af35c2f88df073 (diff) | |
Btrfs: don't leak reloc root nodes on error
commit 6bdf131fac2336adb1a628f992ba32384f653a55 upstream.
We don't track the reloc roots in any sort of normal way, so the only way the
root/commit_root nodes get free'd is if the relocation finishes successfully and
the reloc root is deleted. Fix this by free'ing them in free_reloc_roots.
Thanks,
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
