Christophe JAILLET c97df8e004 btrfs: tests: Fix a memory leak in error handling path in 'run_test()'
[ Upstream commit 9ca2e97fa3c3216200afe35a3b111ec51cc796d2 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-12-20 10:10:30 +01:00
..
2017-12-14 09:53:15 +01:00
2017-12-20 10:10:17 +01:00
2017-08-24 13:23:03 -07:00
2017-12-14 09:53:14 +01:00
2017-11-30 08:40:45 +00:00
2017-09-04 19:05:15 -04:00
2017-11-30 08:40:53 +00:00
2017-10-18 14:51:50 -04:00