summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2017-09-10 14:19:38 +0300
committerDavid Sterba <dsterba@suse.com>2017-10-30 14:27:56 +0300
commit9ca2e97fa3c3216200afe35a3b111ec51cc796d2 (patch)
treebef9d02206c63f93b4b77cfa140864e97cea4888 /tools/perf/scripts/python/export-to-postgresql.py
parentc434d21c6442b107af7030be2d716cf6c89c5606 (diff)
downloadlinux-9ca2e97fa3c3216200afe35a3b111ec51cc796d2.tar.xz
btrfs: tests: Fix a memory leak in error handling path in 'run_test()'
If 'btrfs_alloc_path()' fails, we must free the resources already allocated, as done in the other error handling paths in this function. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: Qu Wenruo <quwenruo.btrfs@gmx.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions